Skip to content

Commit

Permalink
20200209
Browse files Browse the repository at this point in the history
bug修复
  • Loading branch information
shack2 authored and shack2 committed Feb 9, 2020
1 parent 46e5831 commit bbe5a27
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
3 changes: 1 addition & 2 deletions SuperSQLInjection/Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ public void HttpDownloadFile(string url, string path)
responseStream.Close();
}

public static int version = 20191212;
public static int version = 20200209;
public static string versionURL = "http://www.shack2.org/soft/getNewVersion?ENNAME=SSuperSQLInjection&NO=" + URLEncode.UrlEncode(Tools.getSystemSid()) + "&VERSION=" + version;
//检查更新
public void checkUpdate()
Expand Down Expand Up @@ -2706,7 +2706,6 @@ public int getValue(String payLoadStr, int start, int end)
{
int mid = 0;
String payload = "";
Boolean lastexists = false;
while (start <= end)
{
//2分法获取中间数字
Expand Down
6 changes: 3 additions & 3 deletions SuperSQLInjection/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("www.shack2.org")]
[assembly: AssemblyProduct("超级SQL注入工具")]
[assembly: AssemblyCopyright("Copyright © 2014-2019")]
[assembly: AssemblyCopyright("Copyright © 2014-2020")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand All @@ -32,5 +32,5 @@
// 可以指定所有这些值,也可以使用“内部版本号”和“修订号”的默认值,
// 方法是按如下所示使用“*”:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.2019.12.12")]
[assembly: AssemblyFileVersion("1.2019.12.12")]
[assembly: AssemblyVersion("1.2020.02.09")]
[assembly: AssemblyFileVersion("1.2020.02.09")]
4 changes: 2 additions & 2 deletions SuperSQLInjection/payload/MySQL.cs
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ public static String creatMySQLColumnsStr(List<String> columns, String table, St
/// <returns></returns>
public static String concatMySQLColumnStr(List<String> columns)
{
StringBuilder sb = new StringBuilder("concat(0x5e5e21,concat_ws("+ Comm.COLUMNS_SPLIT_HEX_STR + ",");
StringBuilder sb = new StringBuilder("concat(0x5e5e21,convert(concat_ws("+ Comm.COLUMNS_SPLIT_HEX_STR + ",");
for (int i = 0; i < columns.Count; i++)
{
if (columns.Count > 1)
Expand All @@ -278,7 +278,7 @@ public static String concatMySQLColumnStr(List<String> columns)
{
sb.Remove(sb.Length - 1, 1);
}
sb.Append("),0x215e5e)");
sb.Append(") using UTF8),0x215e5e)");

return sb.ToString();

Expand Down
1 change: 0 additions & 1 deletion SuperSQLInjection/tools/http/HTTP.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ public static Boolean findRetryKey(String body) {
if (!String.IsNullOrEmpty(key)&&body.IndexOf(key) != -1)
{
return true;
break;
}
}
}
Expand Down

0 comments on commit bbe5a27

Please sign in to comment.