Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
daniel421
MyOwnPentestToolsByAGS
Commits
a2e8ac96
Commit
a2e8ac96
authored
Sep 29, 2021
by
Your Name
Browse files
added Tab basic
parent
46009a65
Changes
5
Hide whitespace changes
Inline
Side-by-side
AutoRecon/Web/spideredLinks.txt
0 → 100644
View file @
a2e8ac96
Scanning from: http://cap.htb
Dl: http://cap.htb
'link: http://cap.htb/'
'link: http://cap.htb/capture'
'link: http://cap.htb/ip'
'link: http://cap.htb/netstat'
Dl: http://cap.htb/netstat
'link: http://cap.htb/netstat'
Dl: http://cap.htb/netstat
Dl: http://cap.htb/ip
'link: http://cap.htb/ip'
'link: http://cap.htb/netstat'
Dl: http://cap.htb/netstat
Dl: http://cap.htb/ip
Dl: http://cap.htb/capture
'link: http://cap.htb/capture'
'link: http://cap.htb/ip'
'link: http://cap.htb/netstat'
Dl: http://cap.htb/netstat
Dl: http://cap.htb/ip
Dl: http://cap.htb/capture
Dl: http://cap.htb/
'link: http://cap.htb/'
'link: http://cap.htb/capture'
'link: http://cap.htb/ip'
'link: http://cap.htb/netstat'
Dl: http://cap.htb/netstat
Dl: http://cap.htb/ip
Dl: http://cap.htb/capture
Dl: http://cap.htb/
==================================
Nb links visited: 5
http://cap.htb
http://cap.htb/
http://cap.htb/capture
http://cap.htb/ip
http://cap.htb/netstat
AutoRecon/auto_recon.sh
View file @
a2e8ac96
#!/bin/bash
source
utils.sh
# Setup
echo
"[*] Param checking"
...
...
@@ -68,5 +69,26 @@ fi
echo
-e
"
\t
[*] open services"
file_open_services_banner
=
"nmap_scans/open_services_banner"
cat
$file_nmap_scan_init
|
grep
-E
"[0-9].
\/
tcp|udp"
|
tee
$file_open_services_banner
## Search for vulnerability
searchsploit
--nmap
$file_nmap_scan_init
".xml"
\ No newline at end of file
echo
"[*] search for vulns"
searchsploit
--nmap
$file_nmap_scan_init
".xml"
## Si service FTP
## Si service SSH
## Si service HTTP
if
cat
$file_open_services_banner
|
grep
80/tcp
>
/dev/null
then
# Spider web
cmd
=
"python3 /opt/MyOwnPentestToolsByAGS/SimpleSpider.py http://
$DOM_NAME
"
run_prog_in_another_tab
"
$cmd
"
"Web/spideredLinks.txt"
#gnome-terminal --tab --title="spider" -- /bin/bash -c "python3 /opt/MyOwnPentestToolsByAGS/SimpleSpider.py http://$DOM_NAME"
fi
# Dirbuster
# robots.txt (gobuster sur local wordlist)
## Password
\ No newline at end of file
AutoRecon/bk
0 → 100644
View file @
a2e8ac96
WID=$(xprop -root | grep "_NET_ACTIVE_WINDOW(WINDOW)"| awk '{print $5}')
xdotool windowfocus $WID
xdotool key ctrl+shift+t
xdotool type "mkdir Web"
xdotool key Return
xdotool type "python3 /opt/MyOwnPentestToolsByAGS/SimpleSpider.py http://$DOM_NAME | tee Web/spideredLinks.txt"
xdotool key Return
WID=$(xprop -root | grep "_NET_ACTIVE_WINDOW(WINDOW)"| awk '{print $5}')
xdotool windowfocus $WID
xdotool key ctrl+shift+t
xdotool type "mkdir Web"
xdotool key Return
xdotool type "python3 /opt/MyOwnPentestToolsByAGS/SimpleSpider.py http://$DOM_NAME | tee Web/spideredLinks.txt"
xdotool key Return
echo "Next"
\ No newline at end of file
AutoRecon/gobusterSmall
0 → 100644
View file @
a2e8ac96
http://cap.htb/data (Status: 302) [Size: 208] [--> http://cap.htb/]
http://cap.htb/netstat (Status: 200) [Size: 28667]
AutoRecon/utils.sh
0 → 100644
View file @
a2e8ac96
function
run_prog_in_another_tab
()
{
WID
=
$(
xprop
-root
|
grep
"_NET_ACTIVE_WINDOW(WINDOW)"
|
awk
'{print $5}'
)
xdotool windowfocus
$WID
xdotool key ctrl+shift+t
xdotool
type
$cmd
|
tee
$savefile
xdotool key Return
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment