Skip to content

Commit 36342df

Browse files
committed
Add more things
1 parent 1de32a7 commit 36342df

File tree

3 files changed

+18
-3
lines changed

3 files changed

+18
-3
lines changed

docs/14_password_attacks.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ $ # Append a space
5050
```shell
5151
john <hash> --wordlist=<wordlist>
5252

53+
# show subformats
54+
john --list=subformats
55+
5356
# to use rules add them to /etc/john/john.conf with a header
5457
[List.Rules:sshRules]
5558
c $1 $3 $7 $!

docs/15_windows_privesc.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,19 @@ Get-ChildItem -Path C:\ -Recurse -File -Force -ErrorAction SilentlyContinue | Se
5858
Get-ChildItem -Path C:\ -Recurse -File -Force -Include "*.txt","*.config","*.json" -ErrorAction SilentlyContinue | Select-String -Pattern "password" -ErrorAction SilentlyContinue
5959
```
6060
61+
### Recycle Bin
62+
63+
```powershell
64+
# list files in recycle bin
65+
(New-Object -ComObject Shell.Application).NameSpace(0x0a).Items()
66+
67+
# save path to file
68+
$pathFile = (New-Object -ComObject Shell.Application).Namespace(0x0a).Items() | Select -ExpandProperty Path
69+
70+
# copy all files
71+
cp $pathFile .
72+
```
73+
6174
## Passwords
6275
6376
### PowerShell History

docs/index.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,8 @@ xfreerdp3 /u:user /p:pass /v:<ip> /drive:<name>,<path>
2929
```shell
3030
# simple python server
3131
python -m http.server <port>
32-
# simple Python upload-enabled server (optional basic auth)
33-
pip install uploadserver
34-
python -m uploadserver --basic-auth user:pass <port>
32+
# raven upload service
33+
raven 0.0.0.0 443
3534

3635
# WebDAV server
3736
wsgidav -H 0.0.0.0 -p 80 --auth anonymous -r .

0 commit comments

Comments
 (0)