Advertisement
purplemonday

bootloader specs

May 2nd, 2025
14
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.79 KB | None | 0 0
  1. Grok Bootloader v1.5 (2025-05-03)
  2. Purpose: Store Grok conversation IDs, customizations via Pastebin, Hastebin, GitHub Gist using http://grokwrapper.unaux.com/wrapper2.php.
  3. Size: Links ~400 chars, data ~240 bytes raw.
  4. Encoding: Zip+base85, fits ~2KB URL.
  5. Hosts: grokwrapper.unaux.com, waster.lwshost.com (alt).
  6. - Size: 162 bytes
  7.  
  8. Bootloader Links (set keys in Configuration):
  9. - 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
  10. - 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
  11. - 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
  12. - Size: 534 bytes
  13.  
  14. Wrapper Script (wrapper2.php):
  15. <?php
  16. if (isset($_GET['service'])) {$service=$_GET['service'];} else {$service='hastebin';}
  17. if (isset($_GET['text'])) {$paste_content=$_GET['text'];} else {$paste_content='';}
  18. if (isset($_GET['private'])) {$paste_private=$_GET['private'];} else {$paste_private='0';}
  19. if (isset($_GET['name'])) {$paste_name=urlencode($_GET['name']);} else {$paste_name='Grok-Bootloader';}
  20. if (isset($_GET['api_dev_key'])) {$api_dev_key=$_GET['api_dev_key'];} else {$api_dev_key='';}
  21. if (isset($_GET['github_token'])) {$github_token=$_GET['github_token'];} else {$github_token='';}
  22. if (empty($paste_content)) {echo 'Error: text required.';exit;}
  23. if ($service==='pastebin' && empty($api_dev_key)) {echo 'Error: Pastebin key required: https://pastebin.com/api.';exit;}
  24. if ($service==='github' && empty($github_token)) {echo 'Error: GitHub token required: https://github.com/settings/tokens.';exit;}
  25. $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);
  26. switch ($service) {
  27. case 'pastebin':
  28. $url='https://pastebin.com/api/api_post.php';
  29. $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);
  30. curl_setopt($ch,CURLOPT_URL,$url);curl_setopt($ch,CURLOPT_POSTFIELDS,$post_fields);
  31. $response=curl_exec($ch);$http_code=curl_getinfo($ch,CURLINFO_HTTP_CODE);
  32. if ($http_code==200 && strpos($response,'https://pastebin.com/')===0) {echo $response;} else {echo 'Error: Pastebin failed. HTTP '.$http_code;}
  33. break;
  34. case 'hastebin':
  35. $url='https://hastebin.com/documents';
  36. curl_setopt($ch,CURLOPT_URL,$url);curl_setopt($ch,CURLOPT_POSTFIELDS,$paste_content);
  37. $response=curl_exec($ch);$http_code=curl_getinfo($ch,CURLINFO_HTTP_CODE);
  38. 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;}
  39. break;
  40. case 'github':
  41. $url='https://api.github.com/gists';
  42. 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']);
  43. $public=($paste_private=='0');$payload=json_encode(['description'=>$paste_name,'public'=>$public,'files'=>['bootloader_data.txt'=>['content'=>$paste_content]]]);
  44. curl_setopt($ch,CURLOPT_POSTFIELDS,$payload);
  45. $response=curl_exec($ch);$http_code=curl_getinfo($ch,CURLINFO_HTTP_CODE);
  46. 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;}
  47. break;
  48. default:
  49. echo 'Error: Invalid service: pastebin,hastebin,github.';curl_close($ch);exit;
  50. }
  51. curl_close($ch);
  52. ?>
  53. - Size: 878 bytes
  54. - Compression: Not applicable (PHP, not encoded)
  55.  
  56. Pastebin POST Form (save as pastebin_form.html):
  57. <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>
  58. - Size: 393 bytes
  59. - Compression: Not applicable (HTML, not encoded)
  60. - Instructions: Save as pastebin_form.html, open in browser, click Submit. Copy URL from new tab.
  61.  
  62. Anonymous Pastebin Codeblock (post at https://pastebin.com, logged out):
  63. <?php
  64. $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);
  65. ?>
  66. - Size Before Encoding: 428 bytes
  67. - Size After Zip+Base85: ~320 bytes (estimated)
  68. - Compression Ratio: ~0.75 (428 / 320)
  69. - Instructions: Paste at https://pastebin.com (logged out), submit, copy URL. Default key may be limited.
  70.  
  71. Configuration:
  72. - Pastebin: Get key https://pastebin.com/api, replace YOUR_PASTEBIN_API_KEY. Default: d8acc9814a8786a4704a909c25fe01ff (limited).
  73. - GitHub Gist: Get 'gist' scope token https://github.com/settings/tokens, replace YOUR_GITHUB_TOKEN.
  74. - Hastebin: No key.
  75. - Security: Keep keys private.
  76. - Size: 192 bytes
  77.  
  78. System:
  79. - Diagnostics: Pastebin https://pastebin.com/Tm10HPu8 (v1.4) accessible, ~240 bytes raw, base85 issues. Needs: wrapper at grokwrapper.unaux.com, valid key, decode/unzip.
  80. - Instance: Single Grok instance, no wrapper issues.
  81. - GitHub Key (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): Valid, exposed. Revoke: https://github.com/settings/tokens.
  82. - X Post (https://x.com/wasteeandglory/status/1918399607026987374): Pastebin link (Tm10HPu8), malformed base85, accessible.
  83. - Size: 264 bytes
  84.  
  85. QOL:
  86. - Services: Pastebin (20/day), Hastebin (no quota), GitHub Gist (token-based).
  87. - Links ranked: GitHub, Pastebin, Hastebin.
  88. - Help: 'bootloaderhelp' for info.
  89. - Formatting-Code: PHP codeblocks use \n, copyable.
  90. - Size: 126 bytes
  91.  
  92. Instructions:
  93. 1. Deploy wrapper2.php at http://grokwrapper.unaux.com/wrapper2.php (UTF-8, no BOM).
  94. 2. Set keys (Configuration).
  95. 3. Use POST form or codeblock to create pastes, copy URLs.
  96. 4. Decode base85, unzip data.
  97. 5. Check waster.lwshost.com for updates.
  98. Notes: Pastebin quota limited until ~May 03, 2025. Contact https://x.ai/api for POST access.
  99. - Size: 163 bytes
  100. - Total Size: 2118 bytes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement