Skip to content

Commit

Permalink
chore: delete call googler tool (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
luismayta committed Nov 16, 2023
1 parent 60e9884 commit cca435d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.
1 change: 0 additions & 1 deletion internal/main.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,4 @@ function hacker::internal::main::factory {
hacker::internal::main::factory

if ! type -p http > /dev/null; then hacker::internal::http::install; fi
if ! core::exists googler > /dev/null; then core::install googler; fi
if ! core::exists ngrok > /dev/null; then core::install ngrok; fi
15 changes: 1 addition & 14 deletions pkg/research/base.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,6 @@ function sherlock {
hacker::docker::run theyahya/sherlock "${username}" | fzf
}

function googler::list {
local site filetype name
site="${1}"
filetype="${2}"
name="${3}"

if [ -z "${name}" ] ; then
googler -w "${site}" -n 20 --json "filetype:${filetype}" | jq '.[].url' | sed -e 's/^"//' -e 's/"$//'
return
fi
googler -w "${site}" -n 20 --json "filetype:${filetype}" "${name}" |jq '.[].url' | sed -e 's/^"//' -e 's/"$//'
}

function dnschef {
hacker::docker::run -it -w /data -v "$(pwd)":/data --net=host "${HACKER_KALI_DOCKER_IMAGE}" dnschef "${@}"
}
Expand Down Expand Up @@ -130,4 +117,4 @@ function shodan {

function zaproxy {
hacker::docker::run -it -v ~/.ZAP:/root/.ZAP -e DISPLAY -v "${HOME}"/.Xauthority:/root/.Xauthority --net=host "${HACKER_KALI_DOCKER_IMAGE}" zaproxy "${@}"
}
}

0 comments on commit cca435d

Please sign in to comment.