Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/0ct0sec/M5PORKCHOP
/ functions
Functions
1,576 in github.com/0ct0sec/M5PORKCHOP
⨍
Functions
1,576
◇
Types & classes
184
↓ 6 callers
Method
stop
src/modes/piggyblues.cpp:566
↓ 5 callers
Method
addSSID
test/test_beacon/test_beacon_parsing.cpp:62
↓ 5 callers
Function
applyLocalMACBits
Apply locally-administered MAC bit manipulation Sets locally administered bit (bit 1 of first byte) and clears multicast bit (bit 0) This transforms a
test/mocks/testable_functions.h:716
↓ 5 callers
Function
bssidToKey
BSSID key for map lookup (6 bytes as uint64_t)
src/modes/warhog.h:16
↓ 5 callers
Function
calculateChecksum
Calculate simple checksum of buffer (for integrity checking)
test/mocks/testable_functions.h:266
↓ 5 callers
Function
countAchievements
Count number of unlocked achievements
test/mocks/testable_functions.h:226
↓ 5 callers
Method
flush
src/core/sdlog.cpp:125
↓ 5 callers
Function
getGroupEntries
src/ui/settings_menu.cpp:193
↓ 5 callers
Function
getXPToNextLevel
Calculate XP remaining to next level Returns 0 if already at max level
test/mocks/testable_functions.h:78
↓ 5 callers
Method
hasDebuff
src/ui/swine_stats.h:47
↓ 5 callers
Function
isHiddenSSID
Check if SSID is hidden (zero-length or all null bytes)
test/mocks/testable_functions.h:257
↓ 5 callers
Function
isUsableSignal
Check if RSSI indicates a usable signal (typically > -80 dBm)
test/mocks/testable_functions.h:317
↓ 5 callers
Function
isValid24GHzChannel
Check if channel is valid for 2.4GHz band (1-14)
test/mocks/testable_functions.h:280
↓ 5 callers
Function
pigsyncTermReset
src/ui/display.cpp:1683
↓ 5 callers
Function
removeIfExists
src/modes/pigsync_client.cpp:368
↓ 5 callers
Function
sendDeauthFrame
src/core/wsl_bypasser.cpp:58
↓ 5 callers
Function
setDialogueOverlay
src/ui/display.cpp:1988
↓ 5 callers
Method
start
src/modes/piggyblues.cpp:521
↓ 5 callers
Function
stopPromiscuous
src/core/wifi_utils.cpp:14
↓ 4 callers
Function
buildDisassocFrame
Build a disassoc frame (same structure, different frame control)
test/mocks/testable_functions.h:899
↓ 4 callers
Function
clearControlTx
src/modes/pigsync_client.cpp:232
↓ 4 callers
Method
disconnect
src/web/wigle.cpp:148
↓ 4 callers
Function
ensureSdSpiReady
src/core/config.cpp:38
↓ 4 callers
Function
hardReset
src/core/wifi_utils.cpp:20
↓ 4 callers
Function
init
src/core/wsl_bypasser.cpp:29
↓ 4 callers
Function
isExcellentSignal
Check if RSSI indicates excellent signal (typically > -50 dBm)
test/mocks/testable_functions.h:322
↓ 4 callers
Method
isScanning
src/modes/pigsync_client.cpp:1631
↓ 4 callers
Function
isThunderFlashing
=== THUNDER FLASH QUERY ===
src/piglet/weather.cpp:371
↓ 4 callers
Function
isValidLocalMAC
Check if MAC is a valid locally-administered unicast address Locally administered bit (bit 1) set, multicast bit (bit 0) clear
test/mocks/testable_functions.h:722
↓ 4 callers
Function
isValidPCAPHeader
Validate PCAP header magic and version
test/mocks/testable_functions.h:832
↓ 4 callers
Function
keyToBssid
Convert 64-bit key back to 6-byte MAC address
test/mocks/testable_functions.h:704
↓ 4 callers
Function
logWiFiStatus
src/web/fileserver.cpp:33
↓ 4 callers
Function
macEqual
MAC comparison helper [P8]
src/modes/spectrum.h:40
↓ 4 callers
Function
micros
test/mocks/mock_arduino.h:26
↓ 4 callers
Function
randomizeMAC
src/core/wsl_bypasser.cpp:37
↓ 4 callers
Function
selectPapaGoodbye
==[ HELPER: Select Papa's goodbye by capture tier ]==
src/modes/pigsync_protocol.h:510
↓ 4 callers
Method
stop
src/modes/oink.cpp:359
↓ 4 callers
Method
toInt
test/mocks/mock_arduino.h:142
↓ 3 callers
Method
addDSParameterSet
test/test_beacon/test_beacon_parsing.cpp:87
↓ 3 callers
Method
addRSN
test/test_beacon/test_beacon_parsing.cpp:99
↓ 3 callers
Method
addSupportedRates
test/test_beacon/test_beacon_parsing.cpp:82
↓ 3 callers
Function
bootSplashDelay
src/ui/display.cpp:1163
↓ 3 callers
Function
drawClouds
=== DRAWING ===
src/piglet/weather.cpp:380
↓ 3 callers
Function
fileContainsKey
Heap-safe file scan for a normalized BSSID key (upper, no separators).
src/web/wpasec.cpp:80
↓ 3 callers
Function
findDirectEntry
src/ui/settings_menu.cpp:184
↓ 3 callers
Function
forceMoodPeek
Force trigger a mood peek (for significant events like handshake capture)
src/piglet/mood.cpp:55
↓ 3 callers
Function
formatDisplayName
src/ui/wigle_menu.cpp:31
↓ 3 callers
Function
getDrawColor
Color helper for thunder flash inversion (matches Sirloin)
src/piglet/avatar.cpp:59
↓ 3 callers
Function
initPCAPPacketHeader
Initialize PCAP packet header from timestamp and length
test/mocks/testable_functions.h:824
↓ 3 callers
Function
isConfigSetting
src/ui/settings_menu.cpp:161
↓ 3 callers
Function
isPersonalitySetting
src/ui/settings_menu.cpp:156
↓ 3 callers
Function
isValidDeauthFrame
Verify deauth frame structure
test/mocks/testable_functions.h:908
↓ 3 callers
Function
log_info
(msg)
scripts/build_release.py:69
↓ 3 callers
Function
msToTU
Convert milliseconds to TU (Time Units, 1 TU = 1024 microseconds) Used for beacon intervals
test/mocks/testable_functions.h:332
↓ 3 callers
Function
queuePhrase
src/piglet/mood.cpp:113
↓ 3 callers
Function
resetControlQueue
src/modes/pigsync_client.cpp:194
↓ 3 callers
Function
setSettingValue
src/ui/settings_menu.cpp:444
↓ 3 callers
Function
tuToMs
Convert TU to milliseconds
test/mocks/testable_functions.h:337
↓ 3 callers
Function
writeCSVField
Helper to write CSV-escaped SSID field (quoted, doubles internal quotes, strips control chars)
src/modes/warhog.cpp:116
↓ 2 callers
Method
addHTCapabilities
test/test_beacon/test_beacon_parsing.cpp:91
↓ 2 callers
Method
addVendorIE
test/test_beacon/test_beacon_parsing.cpp:134
↓ 2 callers
Method
addWPS
test/test_beacon/test_beacon_parsing.cpp:117
↓ 2 callers
Function
calculateDeviceBoundCRC
src/core/xp.cpp:264
↓ 2 callers
Function
clampValue
src/ui/settings_menu.cpp:146
↓ 2 callers
Function
clearPendingChunkQueue
src/modes/pigsync_client.cpp:442
↓ 2 callers
Method
connect
src/web/wpasec.cpp:124
↓ 2 callers
Function
defaultNoticeDuration
src/ui/display.cpp:1241
↓ 2 callers
Function
formatBSSID
Format uint64_t BSSID to string
src/ui/bounty_status_menu.cpp:21
↓ 2 callers
Function
formatDisplayName
src/ui/crash_viewer.cpp:419
↓ 2 callers
Function
formatTruncated
src/ui/settings_menu.cpp:360
↓ 2 callers
Function
getGpsBaudForIndex
src/ui/settings_menu.cpp:248
↓ 2 callers
Method
getMessagePair
Get message pair type for hashcat 22000 format: Returns 0x00 for M1+M2, 0x02 for M2+M3, 0xFF for invalid
src/modes/oink.h:76
↓ 2 callers
Function
getSettingTextBuf
src/ui/settings_menu.cpp:333
↓ 2 callers
Method
hasBeacon
src/modes/oink.h:67
↓ 2 callers
Method
hasValidPair
Valid crackable pairs: M1+M2 (preferred) or M2+M3 (fallback if M1 missed)
src/modes/oink.h:70
↓ 2 callers
Function
isPlaying
src/audio/sfx.cpp:493
↓ 2 callers
Function
isValidDisassocFrame
Verify disassoc frame structure
test/mocks/testable_functions.h:915
↓ 2 callers
Function
logHeapStatus
src/web/fileserver.cpp:56
↓ 2 callers
Function
pigsyncTermCharDelay
src/ui/display.cpp:1835
↓ 2 callers
Function
pigsyncTermLogDevice
src/ui/display.cpp:1831
↓ 2 callers
Function
pigsyncTermPushExistential
src/ui/display.cpp:1659
↓ 2 callers
Function
pigsyncTermReportDevice
src/ui/display.cpp:1797
↓ 2 callers
Function
pinMode
test/mocks/mock_arduino.h:188
↓ 2 callers
Function
readHttpStatus
Read and parse HTTP status code from a client response. Handles the occasional "HTTP/1.1 100 Continue" prelude.
src/web/wpasec.cpp:51
↓ 2 callers
Function
read_uint32_le
read 4 bytes, little-endian. the only correct byte order. fight me.
scripts/wpasec_check.py:238
↓ 2 callers
Function
run_cmd
Run a command and handle errors
scripts/build_release.py:93
↓ 2 callers
Function
sendDisassocFrame
src/core/wsl_bypasser.cpp:89
↓ 2 callers
Function
shouldAbortScan
Scan task check: returns true if should abort
src/modes/warhog.cpp:111
↓ 2 callers
Method
stop
src/modes/donoham.cpp:307
↓ 2 callers
Method
stop
src/modes/spectrum.cpp:220
↓ 2 callers
Method
update
src/gps/gps.cpp:59
↓ 2 callers
Method
update
src/modes/piggyblues.cpp:629
↓ 1 callers
Method
addHiddenSSID
test/test_beacon/test_beacon_parsing.cpp:67
↓ 1 callers
Method
addNullPaddedSSID
test/test_beacon/test_beacon_parsing.cpp:74
↓ 1 callers
Function
addToHistory
Add phrase index to history (circular buffer)
src/piglet/mood.cpp:339
↓ 1 callers
Method
addVHTCapabilities
test/test_beacon/test_beacon_parsing.cpp:111
↓ 1 callers
Method
addWPA
test/test_beacon/test_beacon_parsing.cpp:123
↓ 1 callers
Function
analyze_pcap
the main event. parse a pcap file and judge it mercilessly. pcap format (libpcap): - global header: 24 bytes - magic: 4 bytes
scripts/wpasec_check.py:340
↓ 1 callers
Function
appendJsonEscaped
src/web/fileserver.cpp:81
↓ 1 callers
Function
calculateCRC32
==[ HELPER: CRC32 (same algorithm as existing) ]==
src/modes/pigsync_protocol.h:549
← previous
next →
101–200 of 1,576, ranked by callers