diff --git a/_gtfobins/ssh-keygen.md b/_gtfobins/ssh-keygen.md new file mode 100644 index 0000000..3f7f1d7 --- /dev/null +++ b/_gtfobins/ssh-keygen.md @@ -0,0 +1,17 @@ +--- +description: | + The read file content is corrupted by error prints. +functions: + file-read: + - code: | + LFILE=file_to_read + ssh-keyscan -f "$LFILE" + suid: + - code: | + LFILE=file_to_read + ./ssh-keyscan -f "$LFILE" + sudo: + - code: | + LFILE=file_to_read + sudo ssh-keyscan -f "$LFILE" +---