vagnerfonseeca

comandos-remotos-ssh.exp

Sep 9th, 2025
4,973
1
Never
7
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
TCL 1.33 KB | Source Code | 1 0
  1. #!/usr/bin/expect -D 0
  2. # Cria as variaveis para usuario e host:
  3. set usuario [lindex $argv 0]
  4. set maquina [lindex $argv 1]
  5. #set USER1 [ exec cat /tmp/user1]
  6. #set HOST [ exec cat /tmp/host]
  7. set SENHA1 [ exec cat /tmp/senha1]
  8. set SENHA2 [ exec cat /tmp/senha2]
  9. # Faz o registro da atividade
  10. log_user 0 ;
  11. # Conecta com ssh
  12. set prompt ":|#|\\\$"
  13. #puts $usuario
  14. #puts $maquina
  15. #send ssh $::env(LOGNAME)@$HOST
  16. spawn ssh "$usuario@$maquina"
  17. # Espera aparecer : na tela para executar o proximo passo
  18. #expect ":"
  19. # Envia a senha do usuario
  20. #send " \n"
  21. expect {
  22.     ")?"        {send "yes\r"}
  23.     ":"     {send "$SENHA1\r"}
  24. }
  25. # espera aparecer o prompt de comando
  26. expect "prompt$"
  27. expect "$ " { send "date > /tmp/data-expect-user\r" }
  28. # executa o comando su
  29. send "su \n"
  30. # Espera aparecer Password: na tela para executar o proximo passo
  31. expect {
  32.         -nocase "password:"   {send "$SENHA2\r"}
  33.         -nocase "senha:"      {send "$SENHA2\r"}
  34.     }
  35. #interact -o -nobuffer -re $prompt return
  36. #log_user 1 ;
  37. expect "# " { send "date > /tmp/data-expect\r" }
  38. #
  39. expect "# " { send "systemctl restart rsyslog.service\r" }
  40. #interact -o -nobuffer -re $prompt return
  41. #interact -o -nobuffer -re $prompt return
  42. send "exit\r"
  43. #interact -o -nobuffer -re $prompt return
  44. send "exit\r"
  45. send_user "Tudo OK"
  46. # passa o controle para o terminal do usuario
  47. #interact
  48.  
Advertisement
Comments
  • User was banned
  • Exodorax
    109 days
    # CSS 0.83 KB | 0 0
    1. ✅ Leaked Exploit Documentation:
    2.  
    3. https://docs.google.com/document/d/1S1iTruSLkgEPO8QtTuo2twS4f2FoJ3_l0-p4GKqeAUY/edit?usp=sharing
    4.  
    5. This made me $13,000 in 2 days.
    6.  
    7. Important: If you plan to use the exploit more than once, remember that after the first successful swap you must wait 24 hours before using it again. Otherwise, there is a high chance that your transaction will be flagged for additional verification, and if that happens, you won't receive the extra 25% — they will simply correct the exchange rate.
    8.  
    9. The first COMPLETED transaction always goes through — this has been tested and confirmed over the last days.
    10.  
    11. Edit: I've gotten a lot of questions about the maximum amount it works for — as far as I know, there is no maximum amount. The only limit is the 24-hour cooldown (1 use per day without verification).
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
Add Comment
Please, Sign In to add comment