Skip to content

Commit

Permalink
Merge pull request #6 from RootUp/patch-1
Browse files Browse the repository at this point in the history
Create socat.md (Arbitrary file read)
  • Loading branch information
MegaManSec authored Jan 12, 2024
2 parents accb344 + e369a30 commit 908396a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions _gtfoargs/socat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
functions:
file-read:
- description: The command leverages socats ability to relay data, reading arbitary file by opening it in read-only mode.
code: |
socat -u OPEN:/etc/passwd,rdonly STDOUT
---

0 comments on commit 908396a

Please sign in to comment.