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
4c556deb
Commit
4c556deb
authored
Sep 29, 2021
by
Your Name
Browse files
added Tab basic
parent
a2e8ac96
Changes
2
Hide whitespace changes
Inline
Side-by-side
AutoRecon/auto_recon.sh
View file @
4c556deb
...
...
@@ -83,8 +83,8 @@ 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"
savefile
=
"Web/spideredLinks.txt"
run_prog_in_another_tab
"
$cmd
"
"
$savefile
"
#gnome-terminal --tab --title="spider" -- /bin/bash -c "python3 /opt/MyOwnPentestToolsByAGS/SimpleSpider.py http://$DOM_NAME"
fi
# Dirbuster
...
...
AutoRecon/utils.sh
View file @
4c556deb
function
run_prog_in_another_tab
()
{
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
type
"
$1
| tee
$
2
"
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