Golang Notes

This will encompass things that I find useful and end up looking up later when I haven't written go in a while. Concepts A slice is essentially an array in Golang. functionName vs FunctionName A function that starts with a lowercase letter is only available within the package in which…

Reversing Notes

Environment Setup VMWare everything in a VLAN Remnux linux box - has things like iptables rules which accept traffic from any ip that connects to it and a fake dns tool. Process Monitor Useful for seeing what processes are spawned with a given running program. Used to get real-time information.…

Interfacing with Oracle DBs

This was so much of a pain in the ass to figure out that I decided that I would compile a whole post specifically around useful information for this topic. To get started, download SQLDeveloper through Oracle's site (you'll need to register). So far I've tested this on OSX. Establishing…

SCADA Security Notes

Modbus write random registers from pymodbus.client.sync import ModbusTcpClient import multiprocessing import random from multiprocessing import TimeoutError client = ModbusTcpClient('[target]') client.connect() def write(reg): client.write_register(reg+1, random.randint(1, 100)) print('reg:' + str(reg)) if __name__ == '__main__': while True: p…

Python Notes

This will encompass things that I find useful and end up looking up later when I haven't coded in a while. Python3 Simple HTTP Server python3 -m http.server <port> Get password as input import getpass try: password = getpass.getpass() except Exception as error: print('ERROR', error) Resource:…