Skip to content

Commit

Permalink
Create socat.md (Arbitrary file read)
Browse files Browse the repository at this point in the history
  • Loading branch information
RootUp authored Dec 25, 2023
1 parent accb344 commit e369a30
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 e369a30

Please sign in to comment.