File tree Expand file tree Collapse file tree 3 files changed +14
-1
lines changed Expand file tree Collapse file tree 3 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 10
10
- ` ptdb query -g ip port -f ports -w "ip = '45.33.32.156'" `
11
11
- ` ptdb query -g ip port state -f ports -w "ip = '45.33.32.156' AND state = 'open'" `
12
12
13
- - ` feroxbuster -w /usr/share/wordlists /dirbuster/directory-list-2.3-small.txt -u http://scanme.nmap.org/ -krn -t 100 --auto-tune `
13
+ - ` feroxbuster -w ~/Documents/wordlist /dirbuster/directory-list-2.3-small.txt -u http://scanme.nmap.org/ -krn -t 100 --auto-tune `
14
14
- ` ptdb query -g base_url dir -f web-dirs `
15
15
- ` ptdb query -g url dir -f web-dirs `
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ createdb -U postgres ptdb-template
4
+ psql -U postgres -d ptdb-template -f /etc/ptdb/make-db.sql
5
+ # thats all she wrote
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ if [[ $# > 0 ]]; then
4
+ createdb -U postgres " $1 " -T ptdb-template
5
+ else
6
+ echo " arg \$ 1 is the name of the new database to create."
7
+ echo " usage \` new-engagement.sh <new-engagement name>\` "
8
+ fi
You can’t perform that action at this time.
0 commit comments