Advertisement
gaber-elsayed

Untitled

Oct 20th, 2021
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.49 KB | None | 0 0
  1. # ProBot.io Package
  2. <h1>
  3. I made this package to make it easier for the people to claim the daily in ProBot.
  4. In the new version i will make the package support capMonster and AntiCaptcha services
  5. To make it more easier :)
  6. All you have to do just add your tokens, proxies and the package will start claiming the daily in all Accounts.
  7. </h1>
  8.  
  9. # Current Added Features
  10. # Current Available Features
  11.  
  12. <table>
  13. <ul>
  14. <li>User Details</li>
  15. <li>Guilds Details</li>
  16. <li>Transaction Logs</li>
  17. <li>Claim Daily <strong style="color: lime">Supports Proxies</strong></li>
  18. <li>Logout</li>
  19. <li>Get All available Profile backgrounds on the store</li>
  20. <li>Get All available Badges on the store</li>
  21. <li>Buy A new Profile backgrounds by ID</li>
  22. <li>Buy A new Badge By ID</li>
  23. <li>Tax Calculator</li>
  24. <li>Get the top 100 by XP</li>
  25. <li>Get the top 100 by credits</li>
  26.  
  27. </ul>
  28. </table>
  29.  
  30. # Claim The Daily
  31. <table>
  32. <tr>
  33. <th>Param</th>
  34. <th>Type</th>
  35. <th>Required</th>
  36. <th>Description</th>
  37.  
  38. </tr>
  39. <tr>
  40. <td>Captcha</td>
  41. <td>String</td>
  42. <td>Yes</td>
  43. <td>Google ReCaptcha response code</td>
  44. </tr>
  45. <tr>
  46. <td>Proxy Options</td>
  47. <td>Object</td>
  48. <td>False</td>
  49. <td>Proxy Options</td>
  50. <td>host: required<br />port: required<br />protocol: Optional(Default: https)<br />username: Optional<br />password: Optional<br /></td>
  51. </tr>
  52. </table>
  53.  
  54.  
  55.  
  56. /**
  57. * @param {String} googleRaptcha Your Captcha Response
  58. */
  59. claimDaily(captcha, { host = "", port = "0000", protocol = "https", username = null, password = null } = {}) {
  60. const proxy = {};
  61. if (host && port) {
  62. proxy.host = host;
  63. proxy.port = port;
  64. }
  65. if (username && password) {
  66. proxy.auth = { username, password };
  67. }
  68. if (Object.keys(proxy) > 0) proxy.protocol = protocol;
  69.  
  70. return new Promise((resolve, reject) => {
  71. const obj = Object.keys(proxy) > 0 ? { proxy } : {};
  72. axios.post("/claim_daily", { captcha }, obj).then(res => {
  73. resolve(res.data);
  74. }).catch(e => {
  75. reject(e?.response?.data);
  76. });
  77. });
  78. }
  79.  
  80.  
  81. pro.claimDaily("google reCaptcha Response", {
  82. protocol: "https",
  83. host: "127.0.0.1",
  84. port: "8080",
  85. username: "Steve123", //Optional
  86. password: "MyPassword123$$"
  87. }).then(response => {
  88. console.log(response);
  89. client.buyProfilebackground(Number, Boolean).then(msg => {
  90. console.log(msg);
  91. }).catch(e => {
  92. console.log(e);
  93. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement