Advertisement
DevilingMaster

Untitled

Mar 25th, 2011
278
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.27 KB | None | 0 0
  1. #ESEGUO LOGIN
  2. curl --silent --cookie-jar FILESERVE.cookie --output FILESERVE.html --data \"loginUserName=#####&loginUserPassword=#####&recaptcha_response_field=&recaptcha_challenge_field=&recaptcha_shortencode_field=&loginFormSubmit=Login\" http://www.fileserve.com/login.php
  3.  
  4. #ESTRAGGO SESSION ID
  5. curl --silent --cookie FILESERVE.cookie --output FILESERVE.html http://www.fileserve.com/upload-track.php
  6.  
  7. #ESTRAGGO I VARI DATI DAL FORM DI UPLOAD
  8. curl --silent --cookie FILESERVE.cookie --output FILESERVE.html http://www.fileserve.com/upload-file.php
  9.  
  10. #INVIO IL FILE E IL RESTO DEI DATI DEL FORM
  11. curl --silent -H "Expect:" --output ESITOUPLOAD.html --cookie FILESERVE.cookie --form-string "affiliateId=" --form-string "subAffiliateId=" --form-string "landingId=" --form "file=@pattern.txt" --form-string "serverId=846" --form-string "userId=2971451" --form-string "uploadSessionId=902f910b9500c8099e64689df6b6111c" --form-string "uploadHostURL=fs846um.fileserve.com" "http://fs846um.fileserve.com/upload/upload.php?X-Progress-ID=902f910b9500c8099e64689df6b6111c"
  12.  
  13. #SCARICO LA PAGINA CONTENENTE IL LINK DEL FILE UPPATO
  14. curl --silent --cookie FILESERVE.cookie --output RESULT.html --data "uploadSessionId[]=902f910b9500c8099e64689df6b6111c" http://www.fileserve.com/upload-result.php
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement