Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Gtajisan/FARHAN-Shot
/ functions
Functions
439 in github.com/Gtajisan/FARHAN-Shot
⨍
Functions
439
◇
Types & classes
35
↓ 1 callers
Method
__prompt_wpspin
Prompt user to select a WPS PIN from the suggested list. BUG FIX: always returns a string, not a dict.
main.py:5010
↓ 1 callers
Method
__prompt_wpspin
(self, bssid)
attached_assets/main_(2)_1781283633298.py:1305
↓ 1 callers
Method
__runPixiewps
(self, showcmd=False, full_range=False)
main.py:4801
↓ 1 callers
Method
__runPixiewps
(self, showcmd=False, full_range=False)
attached_assets/main_(2)_1781283633298.py:1225
↓ 1 callers
Method
__saveResult
(self, bssid, essid, wps_pin, wpa_psk)
main.py:4981
↓ 1 callers
Method
__saveResult
(self, bssid, essid, wps_pin, wpa_psk)
attached_assets/main_(2)_1781283633298.py:1281
↓ 1 callers
Method
_ask_location
Prompt user for a location label (non-blocking, empty is fine).
main.py:441
↓ 1 callers
Function
_auto_smart_attack
Execute the confidence-ordered automated WPS attack pipeline. Stages (in order, abort-on-success): 1. Pixie Dust (-K) 2. SSID-hint PI
main.py:1424
↓ 1 callers
Method
_build_attack_steps
(self, vr, specific_algos, ssid_hints, wps_version, locked, bssid)
main.py:3841
↓ 1 callers
Method
_build_report
(self, bssid: str, ssid: str, model: str, wps_version: str, locked: bool, wpa3: bool,
main.py:3763
↓ 1 callers
Function
_check_nm_running
()
main.py:964
↓ 1 callers
Function
_check_pixiewps
()
main.py:950
↓ 1 callers
Function
_detect_interface
Try to auto-detect a suitable wireless interface. Tries five methods in order (most reliable first): 1. iw dev -- standard Linux
main.py:1096
↓ 1 callers
Method
_ensure_dir
(self)
main.py:412
↓ 1 callers
Method
_explain_wpas_not_ok_status
(command: str, respond: str)
main.py:4473
↓ 1 callers
Method
_explain_wpas_not_ok_status
(command: str, respond: str)
attached_assets/main_(2)_1781283633298.py:1102
↓ 1 callers
Function
_firesoft_print_system_info
Print the FireSoft-style OS info line shown once at startup.
main.py:333
↓ 1 callers
Function
_fs_mask_full
Replace every character with '*'.
main.py:304
↓ 1 callers
Function
_fs_mask_half
Replace the first half of the string with '*'.
main.py:309
↓ 1 callers
Function
_get_interface_phy
Return the wiphy (phy0, phy1 ...) for the given interface, or None.
main.py:1068
↓ 1 callers
Function
_get_interfering_processes
Return a mapping of {pid: cmdline} for processes that hold netlink sockets. These processes (e.g. NetworkManager, wpa_supplicant instances) can
main.py:7265
↓ 1 callers
Method
_get_matchers
(cls)
main.py:5667
↓ 1 callers
Function
_kill_interfering_processes
Kill processes that may interfere with wpa_supplicant. Strategy (in order): 1. systemctl stop -- cleanly stops NetworkManager / iwd servic
main.py:7317
↓ 1 callers
Function
_load_banner
Decode, verify, and return the coloured banner string.
attached_assets/main_(2)_1781283633298.py:103
↓ 1 callers
Method
_load_from_legacy_txt
Load cracked networks from legacy stored.txt/csv format.
main.py:6163
↓ 1 callers
Method
_load_wordlist
(self)
main.py:6651
↓ 1 callers
Method
_ordered_pins
Return deduplicated, confidence-ordered WPS PIN candidates.
main.py:3543
↓ 1 callers
Function
_print_health_check
Run and display a full system health check panel.
main.py:1227
↓ 1 callers
Method
_print_report
(self, r: dict, bssid: str, ssid: str, interface: str)
main.py:3880
↓ 1 callers
Method
_print_report_plain
Fallback plain-text report (no ANSI colors).
main.py:4038
↓ 1 callers
Function
_strip
(s: str)
main.py:1242
↓ 1 callers
Method
_sysfs_unblock_wifi
Attempt to unblock wifi via /sys/class/rfkill sysfs entries.
main.py:6415
↓ 1 callers
Function
_system_health_check
Comprehensive system readiness check for WPS attacks. Returns a dict with keys: root, tools, interface, files, nm_running, overall. All check
main.py:1168
↓ 1 callers
Function
_wps_checksum
(pin7: int)
main.py:868
↓ 1 callers
Method
analyze
(self, bssid)
main.py:6688
↓ 1 callers
Method
analyze_and_display
Run full analysis and print the formatted vulnerability report.
main.py:3754
↓ 1 callers
Method
append_from_pin_csv
Load static PINs from pins.csv for the given MAC prefix. The file is read and parsed only once per unique path; subsequent calls use
main.py:2055
↓ 1 callers
Method
append_from_pin_csv
Load static PINs from pins.csv for the given MAC prefix.
attached_assets/main_(2)_1781283633298.py:562
↓ 1 callers
Method
check_wps_enabled
Check if WPS is enabled on a specific AP.
main.py:6733
↓ 1 callers
Method
disableWifi
(self, force_disable=False, whisper=False)
main.py:1536
↓ 1 callers
Method
disableWifi
(self, force_disable: bool = False, whisper: bool = False)
attached_assets/main_(2)_1781283633298.py:174
↓ 1 callers
Method
disable_rfkill
Unblock WiFi via rfkill tool (with sysfs fallback). Retries once after 1 second if the first attempt fails so that a briefly busy RF-
main.py:6441
↓ 1 callers
Method
disconnect
(interface)
main.py:6540
↓ 1 callers
Method
display_status
(self)
main.py:4320
↓ 1 callers
Method
display_status
(self)
attached_assets/main_(2)_1781283633298.py:1019
↓ 1 callers
Method
enableWifi
(self, force_enable=False, whisper=False)
main.py:1545
↓ 1 callers
Method
enableWifi
(self, force_enable: bool = False, whisper: bool = False)
attached_assets/main_(2)_1781283633298.py:192
↓ 1 callers
Method
ensure_directory
(self)
main.py:6130
↓ 1 callers
Method
generate_mac_based_pins
(bssid)
main.py:7170
↓ 1 callers
Method
getLikely
(self, mac)
main.py:2043
↓ 1 callers
Method
getLikely
(self, mac)
attached_assets/main_(2)_1781283633298.py:555
↓ 1 callers
Method
getSuggested
Get all suggested WPS pin's for single MAC
attached_assets/main_(2)_1781283633298.py:508
↓ 1 callers
Method
getSuggestedList
(self, mac)
main.py:2024
↓ 1 callers
Method
getSuggestedList
Get all suggested WPS pin's for single MAC as list. CSV-backed (ALGO_STATIC_DB) entries are expanded directly; computed algos
attached_assets/main_(2)_1781283633298.py:534
↓ 1 callers
Method
get_channel_info
Get channel and frequency info for a BSSID.
main.py:6746
↓ 1 callers
Method
got_all
(self)
attached_assets/main_(2)_1781283633298.py:980
↓ 1 callers
Function
install_script
()
setup.py:44
↓ 1 callers
Method
isFirstHalfValid
(self)
main.py:4294
↓ 1 callers
Method
isFirstHalfValid
(self)
attached_assets/main_(2)_1781283633298.py:1002
↓ 1 callers
Method
is_blocked
Return True if any WiFi RF-Kill switch is software-blocked.
main.py:6511
↓ 1 callers
Function
is_termux
()
setup.py:32
↓ 1 callers
Method
iw_scanner
Parsing iw scan results
attached_assets/main_(2)_1781283633298.py:1577
↓ 1 callers
Method
load_all_sessions
(self)
main.py:6138
↓ 1 callers
Method
load_session
Load saved attack session.
main.py:5478
↓ 1 callers
Method
log_credential
Write a .OSP_Complete log file for the cracked AP. Returns the path to the written file, or None on failure.
main.py:451
↓ 1 callers
Function
main
()
setup.py:108
↓ 1 callers
Method
pinDLink
(self, mac)
main.py:2610
↓ 1 callers
Method
pinDLink
(self, mac)
attached_assets/main_(2)_1781283633298.py:648
↓ 1 callers
Method
print_masked_credentials
Print credentials with FireSoft-style masking (FS_HIDE_* settings).
main.py:519
↓ 1 callers
Method
print_recon_summary
(self, bssid)
main.py:6777
↓ 1 callers
Method
prompt_network
(self)
main.py:5982
↓ 1 callers
Method
prompt_network
(self)
attached_assets/main_(2)_1781283633298.py:1745
↓ 1 callers
Method
save_ap
Persist a cracked AP to NetworkManager (Linux) or Android WiFi (Android). Linux : nmcli connection add type wifi con-name <essid> ssid <essi
main.py:6562
↓ 1 callers
Method
save_csv_report
(self, results_list, filename=None)
main.py:6346
↓ 1 callers
Function
save_entry
Append cracked credentials to the persistent crack-data store file. Always writes regardless of --write flag. Errors are reported to stderr
main.py:345
↓ 1 callers
Function
save_entry
Saves the provided username, pin, password, and timestamp to the specified file. :param username: The username to save. :param pin: The p
attached_assets/main_(2)_1781283633298.py:120
↓ 1 callers
Method
save_json_report
(self, results, filename=None)
main.py:6364
↓ 1 callers
Method
save_txt_report
(self, results, filename=None)
main.py:6330
↓ 1 callers
Method
scan_only
Scan and print results without prompting for a target.
main.py:6109
↓ 1 callers
Method
search_previous
Return an existing .OSP_Complete filename for this BSSID, or None. Accepts both raw (AA:BB:CC:DD:EE:FF) and pre-normalised (uppercase)
main.py:421
↓ 1 callers
Method
sendAndReceive
(self, command)
main.py:4461
↓ 1 callers
Method
sendAndReceive
Sends command to wpa_supplicant and returns the reply
attached_assets/main_(2)_1781283633298.py:1094
↓ 1 callers
Method
sendOnly
Sends command to wpa_supplicant
attached_assets/main_(2)_1781283633298.py:1090
↓ 1 callers
Function
setup_logger
Configure and return the module-wide 'farhan_shot' logger. Creates two RotatingFileHandlers in *log_dir* (defaults to the directory containin
main.py:85
↓ 1 callers
Method
setup_termux_storage
Prompt the user to run termux-setup-storage if /sdcard is not accessible.
main.py:7052
↓ 1 callers
Method
smart_bruteforce
(self, bssid, start_pin=None, delay=None)
attached_assets/main_(2)_1781283633298.py:1498
↓ 1 callers
Method
storeAlwaysScanState
(self)
main.py:1527
↓ 1 callers
Method
storeAlwaysScanState
(self)
attached_assets/main_(2)_1781283633298.py:160
↓ 1 callers
Function
uninstall_script
()
setup.py:92
Method
__del__
(self)
main.py:5654
Method
__del__
(self)
attached_assets/main_(2)_1781283633298.py:1550
Method
__eq__
(self, other)
main.py:1604
Method
__eq__
(self, other)
attached_assets/main_(2)_1781283633298.py:250
Method
__gt__
(self, other)
main.py:1613
Method
__gt__
(self, other)
attached_assets/main_(2)_1781283633298.py:259
Method
__iadd__
(self, other)
main.py:1592
Method
__iadd__
(self, other)
attached_assets/main_(2)_1781283633298.py:244
Method
__init__
(self, os_target: str = None)
main.py:397
Method
__init__
(self)
main.py:1524
Method
__init__
(self, mac)
main.py:1558
← previous
next →
101–200 of 439, ranked by callers