racerxdl / jnlp_crawler.py
0 likes
0 forks
1 files
Last active 9 months ago
Download all the jar files in a jnlp file for offline examination
| 1 | #!/usr/bin/env python |
| 2 | # |
| 3 | # jnlp_crawler.py - Download all the jar files in a jnlp file for offline examination |
| 4 | # Sheran Gunasekera |
| 5 | # |
| 6 | |
| 7 | from xml.dom.minidom import parse |
| 8 | from xml.parsers.expat import ExpatError |
| 9 | import urllib |
| 10 | import sys |
racerxdl / flownav.py
0 likes
0 forks
1 files
Last active 9 months ago
*a game* VM Code Flow Navigation (for Hex-rays decompiled code)
| 1 | #!/usr/bin/env python |
| 2 | |
| 3 | import re |
| 4 | |
| 5 | machineOpcode = "result" |
| 6 | file = "kerneldecrypt.c" |
| 7 | |
| 8 | def SearchEntryPoint(data): |
| 9 | z = re.search("%s = (.*);" % machineOpcode, data) |
| 10 | if z != None: |
racerxdl / expander_test.py
0 likes
0 forks
1 files
Last active 9 months ago
ESP8266 MicroPython AFEletronica Board
| 1 | from machine import Pin, I2C |
| 2 | |
| 3 | expAddr = 0x27 # I2C Expander I/O |
| 4 | |
| 5 | i2c.writeto(expAddr, '\x00') # Clear All |
| 6 | i2c.writeto(expAddr, '\x7F') # Fill All |
racerxdl / updateip.sh
0 likes
0 forks
1 files
Last active 9 months ago
Update Samba4 IP with samba-tool
| 1 | #!/bin/bash |
| 2 | |
| 3 | DOMAIN=$1 |
| 4 | OLDIP=$2 |
| 5 | NEWIP=$3 |
| 6 | SERVERNAME=$4 |
| 7 | |
| 8 | echo "Adding new IP to domain" |
| 9 | samba-tool dns add localhost $DOMAIN $SERVERNAME.$DOMAIN A $NEWIP |
| 10 | samba-tool dns add localhost $DOMAIN $DOMAIN A $NEWIP |
racerxdl / generate.py
0 likes
0 forks
3 files
Last active 9 months ago
Python Gerador de Histograma (IFUSP)
| 1 | #!/usr/bin/env python |
| 2 | # -*- coding: utf-8 -*- |
| 3 | from __future__ import unicode_literals |
| 4 | |
| 5 | ''' |
| 6 | Para geração de histograma das velocidades |
| 7 | ''' |
| 8 | |
| 9 | import sys |
| 10 | import numpy as np |