Skip to content

Commit 7406e9c

Browse files
committed
updated location of wordlist file
1 parent f469389 commit 7406e9c

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed

demo/cmds.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@
1010
- `ptdb query -g ip port -f ports -w "ip = '45.33.32.156'"`
1111
- `ptdb query -g ip port state -f ports -w "ip = '45.33.32.156' AND state = 'open'"`
1212

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`
1414
- `ptdb query -g base_url dir -f web-dirs`
1515
- `ptdb query -g url dir -f web-dirs`

helper/init-db.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
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

helper/new-engagement.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
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

0 commit comments

Comments
 (0)