Skip to content

Commit

Permalink
update20190811
Browse files Browse the repository at this point in the history
update20190811
  • Loading branch information
shack2 committed Aug 10, 2019
1 parent 13cc41d commit bfa6f11
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions SuperSQLInjection/payload/MySQL.cs
Original file line number Diff line number Diff line change
Expand Up @@ -219,13 +219,10 @@ public static String creatMySQLColumnsStrByError(List<String> columns, String ta
public static String creatMySQLColumnsStr(List<String> columns, String table, String dbName, int limit)
{

if (columns.Count <= 1) {

}
StringBuilder sb = new StringBuilder("(select concat_ws(0x242424,");
foreach (String c in columns) {
// sb.Append(castMySQLColumn(c)+",");
sb.Append(c + ",");
sb.Append("ifnull("+c + ",0x20),");
}
if (columns.Count > 0)
{
Expand Down

0 comments on commit bfa6f11

Please sign in to comment.