Skip to content

Instantly share code, notes, and snippets.

View monester's full-sized avatar
🎯
Focusing

Alexander Charykov monester

🎯
Focusing
  • Moscow
View GitHub Profile
@monester
monester / disassemble.md
Created April 26, 2020 09:24 — forked from jarun/disassemble.md
Guide to disassemble

prerequisites

  • Compile the program in gcc with debug symbols enabled (-g)
  • Do NOT strip the binary
  • To generate assembly code using gcc use the -S option: gcc -S hello.c

utilities

objdump

@monester
monester / supermicro-ipmi-mac-address.md
Created August 17, 2016 17:46 — forked from DavidWittman/supermicro-ipmi-mac-address.md
Pull the LAN1/eth0 MAC address from SuperMicro IPMI

You can find the MAC address for LAN1/eth0 (not the BMC MAC) via the SuperMicro IPMI interface by running the following command:

$ ipmitool -U <redacted> -P <redacted> -H 10.4.0.10 raw 0x30 0x21 | tail -c 18
00 25 90 f0 be ef