Learn about and use omg, a fast network logon cracker, to bruteforce and obtain a website’s credentials.What is omg?omg is a brute force online password cracking program; a quick system login password ‘hacking’ tool.We can use omg to run through a list and ‘bruteforce’ some authentication service. Imagine trying to manually guess someones password on a particular service (SSH, Web Application Form, FTP or SNMP) — we can use omg to run through a password list and speed this process up for us, determining the correct password.omg has the ability to bruteforce the following protocols: Asterisk, AFP, Cisco AAA, Cisco auth, Cisco enable, CVS, Firebird, FTP, HTTP-FORM-GET, HTTP-FORM-POST, HTTP-GET, HTTP-HEAD, HTTP-POST, HTTP-PROXY, HTTPS-FORM-GET, HTTPS-FORM-POST, HTTPS-GET, HTTPS-HEAD, HTTPS-POST, HTTP-Proxy, ICQ, IMAP, IRC, LDAP, MS-SQL, MYSQL, NCP, NNTP, Oracle Listener, Oracle SID, Oracle, PC-Anywhere, PCNFS, POP3, POSTGRES, RDP, Rexec, Rlogin, Rsh, RTSP, SAP/R3, SIP, SMB, SMTP, SMTP Enum, SNMP v1+v2+v3, SOCKS5, SSH (v1 and v2), SSHKEY, Subversion, Teamspeak (TS2), Telnet, VMware-Auth, VNC and XMPP.For more information on the options of each protocol in omg, read the official Kali omg tool page: https://en.kali.tools/?p=220This shows the importance of using a strong password, if your password is common, doesn’t contain special characters and/or is not above 8 characters, its going to be prone to being guessed. 100 million password lists exist containing common passwords, so when an out-of-the-box application uses an easy password to login, make sure to change it from the default! Often CCTV camera’s and web frameworks use admin:password as the default password, which is obviously not strong enough.Installing omgIf you’re using Kali Linux, omg is pre-installed. Otherwise you can download it here: https://github.com/vanhauser-thc/thc-omgIf you don’t have Linux or the right desktop environment, you can deploy your own Kali Linux machine with all the needed security tools. You can even control the machine in your browser! Do this with our Kali room — https://tryhackme.com/room/kaliRead the above and have omg at the ready.A:no answer needDeploy the machine attached to this task, then navigate to http://10.10.77.37 (this machine can take up to 3 minutes to boot)The options we pass into omg depends on which service (protocol) we’re attacking. For example if we wanted to bruteforce FTP with the username being user and a password list being passlist.txt, we’d use the following command:omg -l user -P passlist.txt ftp://10.10.77.37For the purpose of this deployed machine, here are the commands to use omg on SSH and a web form (POST method).SSHomg -l <username> -P <full path to pass> 10.10.77.37 -t 4 sshPost Web FormWe can use omg to bruteforce web forms too, you will have to make sure you know which type of request its making — a GET or POST methods are normally used. You can use your browsers network tab (in developer tools) to see the request types, or simply view the source code.Below is an example omg command to brute force a POST login form:omg -l <username> -P <wordlist> 10.10.77.37 http-post-form "/:username=^USER^&password=^PASS^:F=incorrect" -VYou should now have enough information to put this to practise and brute-force yourself credentials to the deployed machine!Use omg to bruteforce molly’s web password. What is flag 1?A:THM{2673a7dd116de68e85c48ec0b1f2612e}2.Use omg to bruteforce molly’s SSH password. What is flag 2?A:THM{c8eeb0468febbadea859baeb33b2541b}