This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdlib.h> | |
| #include <stdio.h> | |
| #include <fcntl.h> | |
| #include <sys/uio.h> | |
| #include <unistd.h> | |
| #include <string.h> | |
| #include <sys/errno.h> | |
| #include <sys/types.h> | |
| #include <sys/ioctl.h> | |
| #include <net/bpf.h> |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ` | |
| ~/ | |
| ~ | |
| ×™× | |
| ___ | |
| __ | |
| _ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| systemctl disable xrdp.service | |
| mkdir /root/.config/autostart | |
| touch /root/.config/autostart/vino-server.desktop | |
| echo "[Desktop Entry]" >> /root/.config/autostart/vino-server.desktop | |
| echo "Type=Application" >> /root/.config/autostart/vino-server.desktop | |
| echo "Name=Vino VNC server" >> /root/.config/autostart/vino-server.desktop | |
| echo "Exec=/usr/lib/vino/vino-server" >> /root/.config/autostart/vino-server.desktop | |
| echo "NoDisplay=true" >> /root/.config/autostart/vino-server.desktop | |
| dbus-launch gsettings set org.gnome.Vino require-encryption false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python | |
| # | |
| # Shellcode to ASCII encoder leveraging rebuilding on-the-stack technique, | |
| # and using Jon Erickson's algorithm from Phiral Research Labs `Dissembler` | |
| # utility (as described in: Hacking - The Art of Exploitation). | |
| # | |
| # Basically one gives to the program's output a binary encoded shellcode, | |
| # and it yields on the output it's ASCII encoded form. | |
| # | |
| # This payload will at the beginning align the stack by firstly moving |