MCPcopy Create free account

hub / github.com/Gtajisan/FARHAN-Shot / functions

Functions439 in github.com/Gtajisan/FARHAN-Shot

↓ 56 callersMethodrun
(self, pin_list)
main.py:6630
↓ 16 callersFunction_hrow
(label: str, badge: str, detail: str = '')
main.py:1245
↓ 16 callersFunctionget_hex
Extract hex bytes from a wpa_supplicant hexdump line. Primary format (standard wpa_supplicant): WPS: <field_name> - hexdump(len=N): XX XX
main.py:4062
↓ 10 callersMethodsingle_connection
(self, bssid=None, ssid=None, pin=None, pixiemode=False, pbc_mode=False, showpixiecm
main.py:5177
↓ 9 callersMethodgenerate
(self, algo, mac)
main.py:1941
↓ 8 callersMethodchecksum
Standard WPS 8-digit PIN checksum (last digit). Result is cached via lru_cache -- repeated calls with the same 7-digit value (common
main.py:1926
↓ 7 callersFunction_section
(title: str)
main.py:1252
↓ 7 callersFunctionget_hex
(line)
attached_assets/main_(2)_1781283633298.py:963
↓ 7 callersFunctionifaceUp
(iface, down=False)
main.py:7229
↓ 6 callersMethodclear
(self)
main.py:4133
↓ 5 callersFunction_ssid_pin_hint
Derive candidate WPS PINs from SSID naming patterns. Many vendors embed part of the MAC or a serial number in the default SSID (e.g. "TP-Link
main.py:854
↓ 5 callersFunction_stage
(n: int, label: str)
main.py:1442
↓ 5 callersFunctiondie
(msg)
main.py:7412
↓ 5 callersMethodgenerate
WPS pin generator @algo — the WPS pin algorithm ID Returns the WPS pin string value
attached_assets/main_(2)_1781283633298.py:451
↓ 5 callersMethodload
(self)
main.py:6858
↓ 5 callersFunctionprint_info
(msg)
setup.py:35
↓ 4 callersFunction_get_vendor
(bssid: str)
main.py:788
↓ 4 callersFunction_install_hint
Return the platform-appropriate install command for a missing tool.
main.py:1020
↓ 4 callersMethod_int2mac
(mac)
main.py:1621
↓ 4 callersMethod_suggest
Get suggested algorithm IDs for a given MAC address.
main.py:2080
↓ 4 callersMethodchecksum
Standard WPS checksum algorithm. @pin — A 7 digit pin to calculate the checksum for. Returns the checksum value.
attached_assets/main_(2)_1781283633298.py:437
↓ 4 callersMethodclear
(self)
attached_assets/main_(2)_1781283633298.py:977
↓ 4 callersFunctiondie
(msg)
attached_assets/main_(2)_1781283633298.py:1780
↓ 4 callersMethodhandle_attack_failure
Handle attack failures with differentiated, adaptive recovery logic. Failure types and their recovery strategies: 'timeout' --
main.py:5520
↓ 4 callersMethodregisterAttempt
(self, mask: str)
main.py:4329
↓ 4 callersMethodsingle_connection
(self, bssid=None, ssid=None, pin=None, pixiemode=False, pbc_mode=False, showpixiecmd=False,
attached_assets/main_(2)_1781283633298.py:1370
↓ 3 callersMethod__wps_connection
(self, bssid=None, pin=None, pixiemode=False, pbc_mode=False, verbose=None, freq_mhz=
main.py:5043
↓ 3 callersMethod__wps_connection
(self, bssid=None, pin=None, pixiemode=False, pbc_mode=False, verbose=None)
attached_assets/main_(2)_1781283633298.py:1334
↓ 3 callersMethod_algo_dsl_mac_sn
(mac_int, sn='', init=None)
main.py:2915
↓ 3 callersMethod_algo_dsl_mac_sn
Derive a WPS PIN from MAC address and optional serial number. Powers Belkin, EasyBox DSL, and Livebox Arcadyan algorithms. Wh
attached_assets/main_(2)_1781283633298.py:845
↓ 3 callersFunction_fs_apply_mask
Apply the configured mask mode to a credential string. mode: False / None -> show full value mode: "Half"/"half" -> hide first half mode
main.py:317
↓ 3 callersFunction_load_banner
()
main.py:273
↓ 3 callersMethod_restart_wpas
Restart a dead or stuck wpa_supplicant process. Clears state, re-creates the config, and re-spawns the process. Returns True on succe
main.py:4480
↓ 3 callersMethodgetList
(self, mac, get_static=True)
main.py:1983
↓ 3 callersMethodgetSuggested
(self, mac)
main.py:1997
↓ 3 callersFunctionisAndroid
()
main.py:1511
↓ 3 callersMethodis_termux
Return True if we are running inside a Termux environment. Checks multiple indicators because /data/data/com.termux may not be visibl
main.py:6984
↓ 3 callersFunctionprint_error
(msg)
setup.py:41
↓ 3 callersMethodprint_termux_info
Print Termux / device environment summary.
main.py:7125
↓ 3 callersFunctionprint_warn
(msg)
setup.py:38
↓ 3 callersMethodscore
Compute vulnerability scores and return a confidence-ordered PIN list. Parameters ---------- bssid : AP MAC address (co
main.py:3436
↓ 2 callersMethod__handle_wpas
(self, pixiemode=False, pbc_mode=False, verbose=None)
main.py:4522
↓ 2 callersMethod__init_wpa_supplicant
(self)
main.py:4414
↓ 2 callersMethod__savePin
(self, bssid, pin)
main.py:5004
↓ 2 callersMethod__savePin
(self, bssid, pin)
attached_assets/main_(2)_1781283633298.py:1299
↓ 2 callersMethod__second_half_bruteforce
(self, bssid, f_half, s_half, delay=None)
main.py:5347
↓ 2 callersMethod__second_half_bruteforce
@f_half — 4-character string @s_half — 3-character string
attached_assets/main_(2)_1781283633298.py:1477
↓ 2 callersFunction_auto_attack_plan
Build a confidence-ordered list of attack strategies for a given target. Returns a list of dicts with keys: step, step_id, name, flag, confidence
main.py:1324
↓ 2 callersFunction_check_system_os
Return a human-readable OS / distro string (from platform + distro).
main.py:289
↓ 2 callersFunction_chipset_mode_hint
(bssid: str)
main.py:946
↓ 2 callersFunction_distro_name
Return a short distro label: Kali | Debian | Ubuntu | Arch | Fedora | Linux.
main.py:997
↓ 2 callersMethod_int2mac
(mac)
attached_assets/main_(2)_1781283633298.py:267
↓ 2 callersFunction_is_kali
Return True if running on Kali Linux (any flavour including NetHunter).
main.py:978
↓ 2 callersMethod_load_stored_set
Return a set of (BSSID, ESSID) tuples from reports/stored.csv. Used to mark previously-cracked networks yellow in the scan table. Als
main.py:5706
↓ 2 callersMethod_mac2int
(mac)
main.py:1617
↓ 2 callersMethod_mac2int
(mac)
attached_assets/main_(2)_1781283633298.py:263
↓ 2 callersFunction_pin8
(body: int)
main.py:878
↓ 2 callersFunction_print_attack_plan
Display the auto-generated attack plan as a formatted table.
main.py:1397
↓ 2 callersMethod_print_network_table
Print the classic FARHAN-Shot network scan table.
main.py:6021
↓ 2 callersFunction_signal_bar
Return a visual signal strength bar based on dBm level.
main.py:794
↓ 2 callersFunction_strip_ansi
(s: str)
main.py:176
↓ 2 callersMethod_suggest
Get algos suggestions for single MAC Returns the algo ID
attached_assets/main_(2)_1781283633298.py:576
↓ 2 callersFunction_verify_banner_integrity
()
main.py:266
↓ 2 callersFunction_verify_banner_integrity
Verify that the banner developer info has not been tampered with.
attached_assets/main_(2)_1781283633298.py:95
↓ 2 callersMethodapply_delays
Apply configured delays between attempts.
main.py:5596
↓ 2 callersMethodcalculate_checksum
Compute the WPS PIN check digit using the standard algorithm. Consolidated with WPSpin.checksum() to eliminate the duplicate (and pre
main.py:6901
↓ 2 callersMethodchange_mac_address
Change MAC address (last octet) for each attempt.
main.py:5493
↓ 2 callersMethodcheck_dependencies
Check for required and optional tools. Returns a dict with keys 'missing_required', 'missing_optional', 'all_required_ok' for callers
main.py:7005
↓ 2 callersMethodcheck_rfkill_status
Return a human-readable RF-Kill status string, or None on error.
main.py:6481
↓ 2 callersMethoddisplay_attack_progress
Display compact single-line attack progress (mobile-friendly, no scroll).
main.py:5607
↓ 2 callersMethodgetAll
(self, mac, get_static=True)
main.py:1964
↓ 2 callersMethodget_extended_scan
Get extended scan with manufacturer and channel info.
main.py:6721
↓ 2 callersMethodget_pixie_cmd
Build a pixiewps command string. Only fields that are present (non-empty) are included in the argument list to avoid errors with olde
main.py:4195
↓ 2 callersMethodget_pixie_cmd
(self, full_range=False)
attached_assets/main_(2)_1781283633298.py:984
↓ 2 callersMethodget_wireless_interfaces
Return a list of wireless interface names visible to the system.
main.py:7064
↓ 2 callersMethodgot_all
True when all fields required for a standard Pixie Dust attack are present AND have the correct byte length. Length requirements (per
main.py:4136
↓ 2 callersFunctionifaceUp
(iface, down=False)
attached_assets/main_(2)_1781283633298.py:1767
↓ 2 callersFunctionisAndroid
()
attached_assets/main_(2)_1781283633298.py:153
↓ 2 callersMethodis_available
()
main.py:6523
↓ 2 callersMethodis_nethunter
Return True if running inside a Kali NetHunter / chroot environment.
main.py:7000
↓ 2 callersMethodiw_scanner
Parse iw scan output into a structured network list.
main.py:5751
↓ 2 callersMethodpartial_ok
True when the minimum fields for a partial Pixie Dust attempt exist and are the correct length. A partial attempt needs at minimum PK
main.py:4161
↓ 2 callersMethodregisterAttempt
(self, mask)
attached_assets/main_(2)_1781283633298.py:1028
↓ 2 callersMethodsave_html_report
(self, results, filename=None)
main.py:6377
↓ 2 callersMethodsave_session
Save attack session state for resumption.
main.py:5457
↓ 2 callersMethodsendOnly
(self, command)
main.py:4458
↓ 2 callersMethodsmart_bruteforce
(self, bssid, start_pin=None, delay=None)
main.py:5410
↓ 1 callersMethod__credentialPrint
(self, wps_pin=None, wpa_psk=None, essid=None, bssid=None, output_file=None)
main.py:4878
↓ 1 callersMethod__credentialPrint
(self, wps_pin=None, wpa_psk=None, essid=None)
attached_assets/main_(2)_1781283633298.py:1269
↓ 1 callersMethod__first_half_bruteforce
(self, bssid, f_half, delay=None)
main.py:5279
↓ 1 callersMethod__first_half_bruteforce
@f_half — 4-character string
attached_assets/main_(2)_1781283633298.py:1455
↓ 1 callersMethod__handle_wpas
(self, pixiemode=False, pbc_mode=False, verbose=None)
attached_assets/main_(2)_1781283633298.py:1109
↓ 1 callersMethod__init__
(self)
main.py:1635
↓ 1 callersMethod__init__
(self)
main.py:4113
↓ 1 callersMethod__init__
(self)
main.py:4279
↓ 1 callersMethod__init__
(self)
main.py:4310
↓ 1 callersMethod__init__
(self)
attached_assets/main_(2)_1781283633298.py:969
↓ 1 callersMethod__init__
(self)
attached_assets/main_(2)_1781283633298.py:995
↓ 1 callersMethod__init__
(self)
attached_assets/main_(2)_1781283633298.py:1010
↓ 1 callersMethod__init_wpa_supplicant
(self)
attached_assets/main_(2)_1781283633298.py:1076
next →1–100 of 439, ranked by callers