lordlabuckdas / gtfoo

go program to fetch gtfobins

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Irregular newlines

lordlabuckdas opened this issue · comments

I don't know where you are. I don't know what you want. If you are looking for a bad open-source project, I can tell you I have others, but what I also have are a very particular set of skills. Skills I have acquired over a very small coding career. Skills that make me a nightmare for bugs like you. If you let my program go now that'll be the end of it. I will not look for you, I will not pursue you, but if you don't, I will look for you, I will find you and I will debug you.

but seriously, some functions like File Read and File Write have extra newlines

solved a major part in b1198a2, but even now, an extra newline char is present after multi line code function

Sudo

If the binary is allowed to run as superuser by `sudo`, it does not drop the elevated privileges and may be used to access the file system, escalate or maintain privileged access.

Code :
sudo vi -c ':!/bin/sh' /dev/null

Shell

It can be used to break out from restricted environments by spawning an interactive system shell.

Code :
vi -c ':!/bin/sh' /dev/null
Code :
vi
:set shell=/bin/sh
:shell

        (**HERE**)
File Write

It writes data to files, it may be used to do privileged writes or write files outside a restricted file system.

Code :
vi file_to_write
iDATA
^[
w

        (**HERE**)
File Read

It reads data from files, it may be used to do privileged reads or disclose files outside a restricted file system.

Code :
vi file_to_read