Skip to content

Instantly share code, notes, and snippets.

View cybertronprime's full-sized avatar
🌴
On vacation

Cybertron Prime cybertronprime

🌴
On vacation
  • Bengaluru, India
View GitHub Profile
bytecode2opcode(bytecode):
# Decompile bytecode
opl = mythril.disassembler.asm.disassemble(bytearray.fromhex(bytes))
# Append opcodes
opcode = ''
for op in opl:
opcode += op['opcode'] + ' '
# Remove useless whitespace

MongoDB Cheat Sheet

Show All Databases

show dbs

Show Current Database