Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions roothelper.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ The 'Clean up' option removes all downloaded files and 'Quit' exits roothelper.\
# Download and unzip
function dzip()
{ echo "Downloading and extracting scripts..."
`wget -O /tmp/ExploitSuggest.py http://www.securitysift.com/download/linuxprivchecker.py`
`wget -O /tmp/LinEnum.zip https://github.com/rebootuser/LinEnum/archive/master.zip`
`wget -O /tmp/ExploitSuggest_perl.zip https://github.com/PenturaLabs/Linux_Exploit_Suggester/archive/master.zip`
`wget -O /tmp/unixprivesc.zip https://github.com/pentestmonkey/unix-privesc-check/archive/1_x.zip`
`wget -O /tmp/firmwalker.zip https://github.com/craigz28/firmwalker/archive/master.zip`
`curl -O -L http://www.securitysift.com/download/linuxprivchecker.py > /tmp/ExploitSuggest.py`
`curl -O -L https://github.com/rebootuser/LinEnum/archive/master.zip > /tmp/LinEnum.zip`
`curl -O -L https://github.com/PenturaLabs/Linux_Exploit_Suggester/archive/master.zip > /tmp/ExploitSuggest_perl.zip `
`curl -O -L https://github.com/pentestmonkey/unix-privesc-check/archive/1_x.zip > /tmp/unixprivesc.zip`
`curl -O -L https://github.com/craigz28/firmwalker/archive/master.zip > /tmp/firmwalker.zip`
for zip in *.zip
do
dirname=`echo $zip | sed 's/\.zip$//'`
Expand Down Expand Up @@ -58,11 +58,11 @@ do
;;
"Download")
echo "Downloading scripts to $dir"
`wget -O /tmp/ExploitSuggest.py http://www.securitysift.com/download/linuxprivchecker.py`
`wget -O /tmp/LinEnum.zip https://github.com/rebootuser/LinEnum/archive/master.zip`
`wget -O /tmp/ExploitSuggest_perl.zip https://github.com/PenturaLabs/Linux_Exploit_Suggester/archive/master.zip`
`wget -O /tmp/unixprivesc.zip https://github.com/pentestmonkey/unix-privesc-check/archive/1_x.zip`
`wget -O /tmp/firmwalker.zip https://github.com/craigz28/firmwalker/archive/master.zip`
`curl -O -L http://www.securitysift.com/download/linuxprivchecker.py > /tmp/ExploitSuggest.py`
`curl -O -L https://github.com/rebootuser/LinEnum/archive/master.zip > /tmp/LinEnum.zip`
`curl -O -L https://github.com/PenturaLabs/Linux_Exploit_Suggester/archive/master.zip > /tmp/ExploitSuggest_perl.zip `
`curl -O -L https://github.com/pentestmonkey/unix-privesc-check/archive/1_x.zip > /tmp/unixprivesc.zip`
`curl -O -L https://github.com/craigz28/firmwalker/archive/master.zip > /tmp/firmwalker.zip`
printf "%b \n"
;;
"Download and unzip")
Expand Down