List

Description

By Luma

Who knew RCE was this useful?

Downloads: list.ziparrow-up-right

Solution

When we open wireshark we are met with huge traffic. Looking over it with quick glance we see tons of GET requests. That made me think to look into HTTP objects. First we need to export this objects.

File -> Export Objects -> HTTP

I wasnt sure what to look for so I saved all the objects.

After looking over some files it became clear that cleanup was needed. I used to powershell since Im on Windows.

foreach ($file in $(ls)) {
    $contents = $(cat $file)
    if ($contents -match "<title>404 Not Found</title>"   -or # Delete invalid pages
        $contents -match "<title>403 Forbidden</title>"   -or # Delete invalid pages
        $contents -match "<title>400 Bad Request</title>" -or # Delete invalid pages
        $contents -match "<pre></pre>"                    -or # Delete empty php scripts
        $contents -match ".*\..*"                             # Delete anything without extension
    ) {
        rm $file
    }
}

Now we are left with php scripts. Let's examine what's it doing.

After observing other files it became clear that flag characters are being sent to void. Let's extract them.

circle-check

Last updated