瀏覽代碼

新增sqlmap的json配置样例

xormplus 9 年之前
父節點
當前提交
d47225d92d
共有 1 個文件被更改,包括 9 次插入0 次删除
  1. 9 0
      test/sql/oracle/test.json

+ 9 - 0
test/sql/oracle/test.json

@@ -0,0 +1,9 @@
+{
+  "json_selectAllArticle": "select id,title,createdatetime,content from Article where id in (?1,?2)",
+  "json_selectStudentById1": "select * from user where id=?id and 1=1",
+  "json_sql_2_1": "select id,title,createdatetime,content from Article where id = ?id",
+  "json_sql_i_1": "INSERT INTO categories VALUES (?id, ?name, ?counts, ?orders, ?pid)",
+  "json_sql_i_2": "INSERT INTO categories VALUES (?id, ?name, ?counts, ?orders, ?pid)",
+  "json_category": "select * from category",
+  "json_category-16-17": "select * from category where id in (16,17) and name='dd'"
+}