This file contains 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/env python2 | |
import termios | |
import select | |
import socket | |
import os | |
import fcntl | |
import argparse | |
class PTY: | |
def __init__(self, slave=0, pid=os.getpid()): |
This file contains 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
# cmd plugin for https://github.com/jtRIPper/plugin-based-irc-bot, provides commands for running python code and bash commands. | |
from subprocess import Popen, PIPE, STDOUT | |
import sys | |
import os | |
import StringIO | |
class cmd: | |
def __init__(self, bot): | |
self.bot = bot | |
self.autorun = self.auto |
This file contains 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 <stdio.h> | |
#include <stdlib.h> | |
#include <dirent.h> | |
#include <sys/types.h> | |
#include <regex.h> | |
#include <string.h> | |
#include <sys/ptrace.h> | |
#include <time.h> | |
#include <unistd.h> |