Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env python3
# coding: utf8
from polytools import *
import requests
import json
import time
import datetime
proxies={
}
@polymorf
polymorf / load_gnu_debugdata_symbols.py
Created November 15, 2019 00:42
load_gnu_debugdata_symbols.py usefull for android binaries / libs
#!/usr/bin/env python2
# coding: utf8
import lief
import lzma
def get_debugdata(elf_file):
binary = lief.parse(elf_file)
debugdata=""
try:
@polymorf
polymorf / antidote_file.py
Created October 9, 2018 21:42
Antidote D-Bus API service to review files
#!/usr/bin/env python2
# coding: utf8
import gobject
import dbus
import dbus.service
import codecs
from polytools import *
from dbus.mainloop.glib import DBusGMainLoop
import sys
import os
@polymorf
polymorf / keybase.md
Created June 20, 2018 18:49
keybase.md

Keybase proof

I hereby claim:

  • I am polymorf on github.
  • I am p0ly (https://keybase.io/p0ly) on keybase.
  • I have a public key whose fingerprint is 60CD 6B87 D1C3 10BC 5197 8650 C2C0 A5D7 50EF D53C

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am polymorf on github.
  • I am p0ly (https://keybase.io/p0ly) on keybase.
  • I have a public key ASBRIeJ-7fIDh0FsBJPjKF0kSnTtgxjgMntehBLQV6ZjBQo

To claim this, I am signing this object:

root@vm1:~ # uname -a
FreeBSD vm1 10.0-ALPHA3 FreeBSD 10.0-ALPHA3 #0 6fef62a-ipfw-reset-cookie: Fri Sep 27 15:05:12 CEST 2013 [email protected]:/usr/obj/usr/src/sys/IPFW amd64
root@vm1:~ # grep Hypervisor: /var/run/dmesg.boot
Hypervisor: Origin = "bhyve bhyve "
root@vm1:~ # df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/vtbd0p1 19G 830M 17G 5% /
@polymorf
polymorf / gist:1282716
Created October 12, 2011 21:37
Page de maintenance rapide
while :; do echo -e "HTTP/1.0 200 OK\nContent-Type: text/html; charset=UTF-8\n\n<h1>maintenance en cours</h1>" |nc -l 80 ; done
*CLI> sip show registry
Host dnsmgr Username Refresh State Reg.Time
10.5.X.XXX:5060 N +33XXXXXXXXX 45 Registered Wed, 08 Jun 2011 01:08:04