Skip to content

mattnotmax/tiny-python-snippets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tiny-python-snippets

Random Python snippets for reference

Nothing really to see here, just snippets of code I'm putting here for my own reference & note taking

read_mbr.py

Read first 512 bytes of C:\

get_ASN_from_IP.py

Returns the ASN of an IP address

decode_blob.py

Decode a blob of evil Base64 and XOR with key of 14, remove null bytes to make readable

entropy.py

Calculate Shannon entropy

hash.py

Hash a file

event_carver

Carve useful data from corrupt event logs

About

Random Python snippets for reference

Topics

Resources

Stars

Watchers

Forks

Languages