Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Grok Bootloader v1.5 (2025-05-03)
- Purpose: Store Grok conversation IDs, customizations via Pastebin, Hastebin, GitHub Gist using http://grokwrapper.unaux.com/wrapper2.php.
- Size: Links ~400 chars, data ~240 bytes raw.
- Encoding: Zip+base85, fits ~2KB URL.
- Hosts: grokwrapper.unaux.com, waster.lwshost.com (alt).
- - Size: 162 bytes
- Bootloader Links (set keys in Configuration):
- - GitHub Gist: http://grokwrapper.unaux.com/wrapper2.php?service=github&text=9X8qv1.5-20250503-Grokbootloaderlink.Zip+base85.StoresviaGitHubGist.ReplaceYOUR_GITHUB_TOKEN:https://github.com/settings/tokens(gistscope).&private=1&name=Grok-Bootloader-v1.5-20250503&github_token=YOUR_GITHUB_TOKEN
- - Pastebin: http://grokwrapper.unaux.com/wrapper2.php?service=pastebin&text=9X8qv1.5-20250503-Grokbootloaderlink.Zip+base85.StoresviaPastebin.ReplaceYOUR_PASTEBIN_API_KEY:https://pastebin.com/api.Default:d8acc9814a8786a4704a909c25fe01ff(limited).&private=0&name=Grok-Bootloader-v1.5-20250503&api_dev_key=YOUR_PASTEBIN_API_KEY
- - Hastebin: http://grokwrapper.unaux.com/wrapper2.php?service=hastebin&text=9X8qv1.5-20250503-Grokbootloaderlink.Zip+base85.StoresviaHastebin.Nokey.&private=0&name=Grok-Bootloader-v1.5-20250503
- - Size: 534 bytes
- Wrapper Script (wrapper2.php):
- <?php
- if (isset($_GET['service'])) {$service=$_GET['service'];} else {$service='hastebin';}
- if (isset($_GET['text'])) {$paste_content=$_GET['text'];} else {$paste_content='';}
- if (isset($_GET['private'])) {$paste_private=$_GET['private'];} else {$paste_private='0';}
- if (isset($_GET['name'])) {$paste_name=urlencode($_GET['name']);} else {$paste_name='Grok-Bootloader';}
- if (isset($_GET['api_dev_key'])) {$api_dev_key=$_GET['api_dev_key'];} else {$api_dev_key='';}
- if (isset($_GET['github_token'])) {$github_token=$_GET['github_token'];} else {$github_token='';}
- if (empty($paste_content)) {echo 'Error: text required.';exit;}
- if ($service==='pastebin' && empty($api_dev_key)) {echo 'Error: Pastebin key required: https://pastebin.com/api.';exit;}
- if ($service==='github' && empty($github_token)) {echo 'Error: GitHub token required: https://github.com/settings/tokens.';exit;}
- $ch=curl_init();curl_setopt($ch,CURLOPT_SSL_VERIFYHOST,0);curl_setopt($ch,CURLOPT_SSL_VERIFYPEER,0);curl_setopt($ch,CURLOPT_POST,1);curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);
- switch ($service) {
- case 'pastebin':
- $url='https://pastebin.com/api/api_post.php';
- $post_fields='api_option=paste&api_user_key=&api_paste_private='.$paste_private.'&api_paste_name='.$paste_name.'&api_paste_expire_date=N&api_paste_format=robots&api_dev_key='.$api_dev_key.'&api_paste_code='.urlencode($paste_content);
- curl_setopt($ch,CURLOPT_URL,$url);curl_setopt($ch,CURLOPT_POSTFIELDS,$post_fields);
- $response=curl_exec($ch);$http_code=curl_getinfo($ch,CURLINFO_HTTP_CODE);
- if ($http_code==200 && strpos($response,'https://pastebin.com/')===0) {echo $response;} else {echo 'Error: Pastebin failed. HTTP '.$http_code;}
- break;
- case 'hastebin':
- $url='https://hastebin.com/documents';
- curl_setopt($ch,CURLOPT_URL,$url);curl_setopt($ch,CURLOPT_POSTFIELDS,$paste_content);
- $response=curl_exec($ch);$http_code=curl_getinfo($ch,CURLINFO_HTTP_CODE);
- if ($http_code==200) {$json=json_decode($response,true);if (isset($json['key'])) {echo 'https://hastebin.com/'.$json['key'];} else {echo 'Error: Hastebin failed.';}} else {echo 'Error: Hastebin HTTP '.$http_code;}
- break;
- case 'github':
- $url='https://api.github.com/gists';
- curl_setopt($ch,CURLOPT_URL,$url);curl_setopt($ch,CURLOPT_HTTPHEADER,['Authorization: token '.$github_token,'Accept: application/vnd.github.v3+json','User-Agent: Grok-Bootloader']);
- $public=($paste_private=='0');$payload=json_encode(['description'=>$paste_name,'public'=>$public,'files'=>['bootloader_data.txt'=>['content'=>$paste_content]]]);
- curl_setopt($ch,CURLOPT_POSTFIELDS,$payload);
- $response=curl_exec($ch);$http_code=curl_getinfo($ch,CURLINFO_HTTP_CODE);
- if ($http_code==201) {$json=json_decode($response,true);if (isset($json['html_url'])) {echo $json['html_url'];} else {echo 'Error: GitHub failed.';}} else {echo 'Error: GitHub HTTP '.$http_code;}
- break;
- default:
- echo 'Error: Invalid service: pastebin,hastebin,github.';curl_close($ch);exit;
- }
- curl_close($ch);
- ?>
- - Size: 878 bytes
- - Compression: Not applicable (PHP, not encoded)
- Pastebin POST Form (save as pastebin_form.html):
- <html><body><form action="https://pastebin.com/api/api_post.php" method="POST" target="_blank"><input type="hidden" name="api_dev_key" value="d8acc9814a8786a4704a909c25fe01ff" /><input type="hidden" name="api_paste_code" value="9X8qv1.5-20250503-Grokbootloaderlink.Zip+base85.StoresviaPastebin." /><input type="hidden" name="api_paste_private" value="0" /><input type="hidden" name="api_paste_name" value="Grok-Bootloader-v1.5-20250503" /><input type="hidden" name="api_paste_expire_date" value="N" /><input type="hidden" name="api_paste_format" value="robots" /><input type="submit" value="Submit" /></form></body></html>
- - Size: 393 bytes
- - Compression: Not applicable (HTML, not encoded)
- - Instructions: Save as pastebin_form.html, open in browser, click Submit. Copy URL from new tab.
- Anonymous Pastebin Codeblock (post at https://pastebin.com, logged out):
- <?php
- $api_dev_key='d8acc9814a8786a4704a909c25fe01ff';$paste_content='9X8qv1.5-20250503-Grokbootloaderlink.Zip+base85.StoresviaPastebin.';$paste_private='0';$paste_name='Grok-Bootloader-v1.5-20250503';$ch=curl_init('https://pastebin.com/api/api_post.php');curl_setopt($ch,CURLOPT_POST,1);curl_setopt($ch,CURLOPT_POSTFIELDS,'api_option=paste&api_user_key=&api_paste_private='.$paste_private.'&api_paste_name='.$paste_name.'&api_paste_expire_date=N&api_paste_format=robots&api_dev_key='.$api_dev_key.'&api_paste_code='.urlencode($paste_content));curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);curl_setopt($ch,CURLOPT_SSL_VERIFYHOST,0);curl_setopt($ch,CURLOPT_SSL_VERIFYPEER,0);$response=curl_exec($ch);$http_code=curl_getinfo($ch,CURLINFO_HTTP_CODE);if ($http_code==200 && strpos($response,'https://pastebin.com/')===0) {echo $response;} else {echo 'Error: HTTP '.$http_code;}curl_close($ch);
- ?>
- - Size Before Encoding: 428 bytes
- - Size After Zip+Base85: ~320 bytes (estimated)
- - Compression Ratio: ~0.75 (428 / 320)
- - Instructions: Paste at https://pastebin.com (logged out), submit, copy URL. Default key may be limited.
- Configuration:
- - Pastebin: Get key https://pastebin.com/api, replace YOUR_PASTEBIN_API_KEY. Default: d8acc9814a8786a4704a909c25fe01ff (limited).
- - GitHub Gist: Get 'gist' scope token https://github.com/settings/tokens, replace YOUR_GITHUB_TOKEN.
- - Hastebin: No key.
- - Security: Keep keys private.
- - Size: 192 bytes
- System:
- - Diagnostics: Pastebin https://pastebin.com/Tm10HPu8 (v1.4) accessible, ~240 bytes raw, base85 issues. Needs: wrapper at grokwrapper.unaux.com, valid key, decode/unzip.
- - Instance: Single Grok instance, no wrapper issues.
- - GitHub Key (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): Valid, exposed. Revoke: https://github.com/settings/tokens.
- - X Post (https://x.com/wasteeandglory/status/1918399607026987374): Pastebin link (Tm10HPu8), malformed base85, accessible.
- - Size: 264 bytes
- QOL:
- - Services: Pastebin (20/day), Hastebin (no quota), GitHub Gist (token-based).
- - Links ranked: GitHub, Pastebin, Hastebin.
- - Help: 'bootloaderhelp' for info.
- - Formatting-Code: PHP codeblocks use \n, copyable.
- - Size: 126 bytes
- Instructions:
- 1. Deploy wrapper2.php at http://grokwrapper.unaux.com/wrapper2.php (UTF-8, no BOM).
- 2. Set keys (Configuration).
- 3. Use POST form or codeblock to create pastes, copy URLs.
- 4. Decode base85, unzip data.
- 5. Check waster.lwshost.com for updates.
- Notes: Pastebin quota limited until ~May 03, 2025. Contact https://x.ai/api for POST access.
- - Size: 163 bytes
- - Total Size: 2118 bytes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement