Advertisement
Guest User

Untitled

a guest
Mar 7th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.32 KB | None | 0 0
  1. <?php
  2. require __DIR__.'/vendor/autoload.php'; $atom = new Atomic(['path_tmp' => __DIR__ .'/tmp']);
  3.  
  4. $zismo = $atom->request('http://zismo.biz/');
  5. $check_user = $atom->regexp("user_profile'><a href='([^']+)'", $zismo);
  6. $id_tema = '801922';
  7. if (empty($check_user) == 0) {
  8. $zismo = $atom->request('http://zismo.biz/topic/'.$id_tema);
  9. $md5check = $atom->regexp("name=\"auth_key\" value=\"([^\"]+)\"", $zismo);
  10. $session_id = $atom->regexp("ipb.vars['session_id'] = '([^']+)'", $zismo);
  11. echo $session_id."<br><br><br>";
  12.  
  13. // $zismo = $atom->request(['url' => 'http://zismo.biz/index.php?s=76d75bfc93241a081be61945a80b99bb&app=forums&module=ajax&section=topics&do=reply&t='.$id_tema.'&f=20&pid='.$id_tema,'post/build' => [
  14. // 'md5check' => $md5check,
  15. // 'Post' => 'Можно спам блок?)',
  16. // 'isRte' => '1',
  17. // 'noSmilies' => '0'
  18. // ]]);
  19. }
  20. else {
  21. $login = 'Sh@m@n';
  22. $password = 'qwerty666';
  23. $zismo = $atom->request(['url' => 'http://zismo.biz/index.php?app=core&section=login']);
  24. $auth_key = $atom->regexp("name='auth_key' value='([^']+)'", $zismo);
  25. $zismo = $atom->request(['url' => 'http://zismo.biz/index.php?app=core&module=global&section=login&do=process','post/build' => ['auth_key' => $auth_key,'ips_username' => $login,'ips_password' => $password,'rememberMe' => '1']]);
  26. }
  27.  
  28.  
  29. var_dump($zismo)
  30. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement