总账追朔各模块SQL
SELECT gjh.set_of_books_id,
gjl.je_line_num,
mta.organization_id,
ood.organization_code,
ood.organization_name,
mtt.transaction_type_name,
NULL trx_number,
to_char(ooh.order_number) trx_source,
trunc(mmt.transaction_date) transaction_date,
gcc.concatenated_segments account,
SUM(decode(sign(nvl(mta.transaction_value, mta.base_transaction_value)),
1, nvl(mta.transaction_value, mta.base_transaction_value), 0, 0,
NULL)) entered_dr1,
SUM(decode(sign(nvl(mta.transaction_value, mta.base_transaction_value)),
-1,
(-1 * nvl(mta.transaction_value, mta.base_transaction_value)),
NULL)) entered_cr1,
SUM(decode(sign(mta.base_transaction_value), 1,
mta.base_transaction_value, 0, 0, NULL)) accounted_dr1,
SUM(decode(sign(mta.base_transaction_value), -1,
(-1 * mta.base_transaction_value), NULL)) accounted_cr1,
SUM(decode(sign(nvl(gjl.accounted_dr, 0)), 1,
nvl(mta.transaction_value, mta.base_transaction_value), 0)) entered_dr,
SUM(decode(sign(nvl(gjl.accounted_cr, 0)), 1,
-1 * nvl(mta.transaction_value, mta.base_transaction_value), 0)) entered_cr,
SUM(decode(sign(nvl(gjl.accounted_dr, 0)), 1, mta.base_transaction_value,
0)) accounted_dr,
SUM(decode(sign(nvl(gjl.accounted_cr, 0)), 1,
-1 * mta.base_transaction_value, 0)) accounted_cr
FROM gl_je_lines gjl,
gl_je_headers gjh,
gl_code_combinations_kfv gcc,
gl_import_references gir,
gl_period_statuses gps,
mtl_transaction_accounts mta,
mtl_material_transactions mmt,
mtl_transaction_types mtt,
org_organization_definitions ood,
oe_order_lines_all ool,
oe_order_headers_all ooh
WHERE gjl.je_header_id = gjh.je_header_id AND
gjl.code_combination_id = gcc.code_combination_id AND
gjl.je_header_id = gir.je_header_id AND
gjl.je_line_num = gir.je_line_num AND
gjh.set_of_books_id = gps.set_of_books_id AND
gjh.period_name = gps.period_name AND gps.application_id = 401 AND
gir.reference_1 = mta.gl_batch_id AND
gjl.code_combination_id = mta.reference_account AND
mta.transaction_date BETWEEN gps.start_date AND gps.end_date AND
mta.transaction_id = mmt.transaction_id AND
mmt.transaction_type_id = mtt.transaction_type_id AND
mmt.organization_id = ood.organization_id AND
--
mtt.transaction_type_name = 'Sales Order Pick' AND
ooh.header_id = ool.header_id AND ool.line_id = mmt.trx_source_line_id AND
--
gjh.je_source = 'Inventory' AND gjh.je_category = 'MTL' AND
--
gjh.period_name = '06-2004' AND gjh.set_of_books_id = 1 AND
gjh.je_header_id = 3148
GROUP BY gjh.set_of_books_id,
mta.organization_id,
ood.organization_code,
ood.organization_name,
gjl.je_line_num,
trunc(mmt.transaction_date),
ooh.order_number,
mtt.transaction_type_name,
gcc.concatenated_segments
UNION ALL
SELECT gjh.set_of_books_id,
gjl.je_line_num,
mta.organization_id,
ood.organization_code,
ood.organization_name,
mtt.transaction_type_name,
wnd.NAME trx_number,
to_char(ooh.order_number) trx_source,
trunc(mmt.transaction_date) transaction_date,
gcc.concatenated_segments account,
SUM(decode(sign(nvl(mta.transaction_value, mta.base_transaction_value)),
1, nvl(mta.transaction_value, mta.base_transaction_value), 0, 0,
NULL)) entered_dr1,
SUM(decode(sign(nvl(mta.transaction_value, mta.base_transaction_value)),
-1,
(-1 * nvl(mta.transaction_value, mta.base_transaction_value)),
NULL)) entered_cr1,
SUM(decode(sign(mta.base_transaction_value), 1,
mta.base_transaction_value, 0, 0, NULL)) accounted_dr1,
SUM(decode(sign(mta.base_transaction_value), -1,
(-1 * mta.base_transaction_value), NULL)) accounted_cr1,
SUM(decode(sign(nvl(gjl.accounted_dr, 0)), 1,
nvl(mta.transaction_value, mta.base_transaction_value), 0)) entered_dr,
SUM(decode(sign(nvl(gjl.accounted_cr, 0)), 1,
-1 * nvl(mta.transaction_value, mta.base_transaction_value), 0)) entered_cr,
SUM(decode(sign(nvl(gjl.accounted_dr, 0)), 1, mta.base_transaction_value,
0)) accounted_dr,
SUM(decode(sign(nvl(gjl.accounted_cr, 0)), 1,
-1 * mta.base_transaction_value, 0)) accounted_cr
FROM gl_je_lines gjl,
gl_je_headers gjh,
gl_code_combinations_kfv gcc,
gl_import_references gir,
gl_period_statuses gps,
mtl_transaction_accounts mta,
mtl_material_transactions mmt,
mtl_transaction_types mtt,
org_organization_definitions ood,
oe_order_lines_all ool,
wsh_new_deliveries wnd,
oe_order_headers_all ooh
WHERE gjl.je_header_id = gjh.je_header_id AND
gjl.code_combination_id = gcc.code_combination_id AND
gjl.je_header_id = gir.je_header_id AND
gjl.je_line_num = gir.je_line_num AND
gjh.set_of_books_id = gps.set_of_books_id AND
gjh.period_name = gps.period_name AND gps.application_id = 401 AND
gir.reference_1 = mta.gl_batch_id AND
gjl.code_combination_id = mta.reference_account AND
mta.transaction_date BETWEEN gps.start_date AND gps.end_date AND
mta.transaction_id = mmt.transaction_id AND
mmt.transaction_type_id = mtt.transaction_type_id AND
mmt.organization_id = ood.organization_id AND
--
mtt.transaction_type_name = 'Sales order issue' AND
mmt.shipment_number = wnd.delivery_id AND ooh.header_id = ool.header_id AND
ool.line_id = mmt.trx_source_line_id AND
--
gjh.je_source = 'Inventory' AND gjh.je_category = 'MTL' AND
--
gjh.period_name = '06-2004' AND gjh.set_of_books_id = 1 AND
gjh.je_header_id = 3148
GROUP BY gjh.set_of_books_id,
mta.organization_id,
ood.organization_code,
ood.organization_name,
gjl.je_line_num,
trunc(mmt.transaction_date),
ooh.order_number,
wnd.NAME,
mtt.transaction_type_name,
gcc.concatenated_segments
UNION ALL
SELECT gjh.set_of_books_id,
gjl.je_line_num,
mta.organization_id,
ood.organization_code,
ood.organization_name,
mtt.transaction_type_name,
rsh.receipt_num trx_number,
pha.segment1 trx_source,
trunc(mmt.transaction_date) transaction_date,
gcc.concatenated_segments account,
SUM(decode(sign(nvl(mta.transaction_value, mta.base_transaction_value)),
1, nvl(mta.transaction_value, mta.base_transaction_value), 0, 0,
NULL)) entered_dr1,
SUM(decode(sign(nvl(mta.transaction_value, mta.base_transaction_value)),
-1,
(-1 * nvl(mta.transaction_value, mta.base_transaction_value)),
NULL)) entered_cr1,
SUM(decode(sign(mta.base_transaction_value), 1,
mta.base_transaction_value, 0, 0, NULL)) accounted_dr1,
SUM(decode(sign(mta.base_transaction_value), -1,
(-1 * mta.base_transaction_value), NULL)) accounted_cr1,
SUM(decode(sign(nvl(gjl.accounted_dr, 0)), 1,
nvl(mta.transaction_value, mta.base_transaction_value), 0)) entered_dr,
SUM(decode(sign(nvl(gjl.accounted_cr, 0)), 1,
-1 * nvl(mta.transaction_value, mta.base_transaction_value), 0)) entered_cr,
SUM(decode(sign(nvl(gjl.accounted_dr, 0)), 1, mta.base_transaction_value,
0)) accounted_dr,
SUM(decode(sign(nvl(gjl.accounted_cr, 0)), 1,
-1 * mta.base_transaction_value, 0)) accounted_cr
FROM gl_je_lines gjl,
gl_je_headers gjh,
gl_code_combinations_kfv gcc,
gl_import_references gir,
gl_period_statuses gps,
mtl_transaction_accounts mta,
mtl_material_transactions mmt,
mtl_transaction_types mtt,
org_organization_definitions ood,
rcv_transactions rt,
rcv_shipment_headers rsh,
po_headers_all pha
WHERE gjl.je_header_id = gjh.je_header_id AND
gjl.code_combination_id = gcc.code_combination_id AND
gjl.je_header_id = gir.je_header_id AND
gjl.je_line_num = gir.je_line_num AND
gjh.set_of_books_id = gps.set_of_books_id AND
gjh.period_name = gps.period_name AND gps.application_id = 401 AND
gir.reference_1 = mta.gl_batch_id AND
gjl.code_combination_id = mta.reference_account AND
mta.transaction_date BETWEEN gps.start_date AND gps.end_date AND
mta.transaction_id = mmt.transaction_id AND
mmt.transaction_type_id = mtt.transaction_type_id AND
mmt.organization_id = ood.organization_id AND
--
mtt.transaction_type_name IN ('PO Receipt', 'PO Rcpt Adjust') AND
rt.transaction_id = mmt.rcv_transaction_id AND
rt.shipment_header_id = rsh.shipment_header_id AND
rt.po_header_id = pha.po_header_id AND
--
gjh.je_source = 'Inventory' AND gjh.je_category = 'MTL' AND
--
gjh.period_name = '06-2004' AND gjh.set_of_books_id = 1 AND
gjh.je_header_id = 3148
GROUP BY gjh.set_of_books_id,
mta.organization_id,
ood.organization_code,
ood.organization_name,
gjl.je_line_num,
trunc(mmt.transaction_date),
rsh.receipt_num,
pha.segment1,
mtt.transaction_type_name,
gcc.concatenated_segments
UNION ALL
SELECT gjh.set_of_books_id,
gjl.je_line_num,
mta.organization_id,
ood.organization_code,
ood.organization_name,
mtt.transaction_type_name,
to_char(mmt.transaction_set_id) trx_number,
mmt.subinventory_code trx_source,
trunc(mmt.transaction_date) transaction_date,
gcc.concatenated_segments account,
SUM(decode(sign(nvl(mta.transaction_value, mta.base_transaction_value)),
1, nvl(mta.transaction_value, mta.base_transaction_value), 0, 0,
NULL)) entered_dr1,
SUM(decode(sign(nvl(mta.transaction_value, mta.base_transaction_value)),
-1,
(-1 * nvl(mta.transaction_value, mta.base_transaction_value)),
NULL)) entered_cr1,
SUM(decode(sign(mta.base_transaction_value), 1,
mta.base_transaction_value, 0, 0, NULL)) accounted_dr1,
SUM(decode(sign(mta.base_transaction_value), -1,
(-1 * mta.base_transaction_value), NULL)) accounted_cr1,
SUM(decode(sign(nvl(gjl.accounted_dr, 0)), 1,
nvl(mta.transaction_value, mta.base_transaction_value), 0)) entered_dr,
SUM(decode(sign(nvl(gjl.accounted_cr, 0)), 1,
-1 * nvl(mta.transaction_value, mta.base_transaction_value), 0)) entered_cr,
SUM(decode(sign(nvl(gjl.accounted_dr, 0)), 1, mta.base_transaction_value,
0)) accounted_dr,
SUM(decode(sign(nvl(gjl.accounted_cr, 0)), 1,
-1 * mta.base_transaction_value, 0)) accounted_cr
FROM gl_je_lines gjl,
gl_je_headers gjh,
gl_code_combinations_kfv gcc,
gl_import_references gir,
gl_period_statuses gps,
mtl_transaction_accounts mta,
mtl_material_transactions mmt,
mtl_transaction_types mtt,
org_organization_definitions ood
WHERE gjl.je_header_id = gjh.je_header_id AND
gjl.code_combination_id = gcc.code_combination_id AND
gjl.je_header_id = gir.je_header_id AND
gjl.je_line_num = gir.je_line_num AND
gjh.set_of_books_id = gps.set_of_books_id AND
gjh.period_name = gps.period_name AND gps.application_id = 401 AND
gir.reference_1 = mta.gl_batch_id AND
gjl.code_combination_id = mta.reference_account AND
mta.transaction_date BETWEEN gps.start_date AND gps.end_date AND
mta.transaction_id = mmt.transaction_id AND
mmt.transaction_type_id = mtt.transaction_type_id AND
mmt.organization_id = ood.organization_id AND
--
mtt.transaction_type_name IN
('Subinventory Transfer', 'Move Order Transfer', 'Physical Inv Adjust',
'富通子库存转移') AND
--
gjh.je_source = 'Inventory' AND gjh.je_category = 'MTL' AND
--
gjh.period_name = '06-2004' AND gjh.set_of_books_id = 1 AND
gjh.je_header_id = 3148
GROUP BY gjh.set_of_books_id,
mta.organization_id,
ood.organization_code,
ood.organization_name,
gjl.je_line_num,
mmt.transaction_set_id,
mmt.subinventory_code,
trunc(mmt.transaction_date),
mtt.transaction_type_name,
gcc.concatenated_segments
UNION ALL SELECT gjh.set_of_books_id,
gjl.je_line_num,
mta.organization_id,
ood.organization_code,
ood.organization_name,
mtt.transaction_type_name,
NULL trx_number,
mmt.transaction_source_name trx_source,
trunc(mmt.transaction_date) transaction_date,
gcc.concatenated_segments account,
SUM(decode(sign(nvl(mta.transaction_value, mta.base_transaction_value)),
1, nvl(mta.transaction_value, mta.base_transaction_value), 0, 0,
NULL)) entered_dr1,
SUM(decode(sign(nvl(mta.transaction_value, mta.base_transaction_value)),
-1,
(-1 * nvl(mta.transaction_value, mta.base_transaction_value)),
NULL)) entered_cr1,
SUM(decode(sign(mta.base_transaction_value), 1,
mta.base_transaction_value, 0, 0, NULL)) accounted_dr1,
SUM(decode(sign(mta.base_transaction_value), -1,
(-1 * mta.base_transaction_value), NULL)) accounted_cr1,
SUM(decode(sign(nvl(gjl.accounted_dr, 0)), 1,
nvl(mta.transaction_value, mta.base_transaction_value), 0)) entered_dr,
SUM(decode(sign(nvl(gjl.accounted_cr, 0)), 1,
-1 * nvl(mta.transaction_value, mta.base_transaction_value), 0)) entered_cr,
SUM(decode(sign(nvl(gjl.accounted_dr, 0)), 1, mta.base_transaction_value,
0)) accounted_dr,
SUM(decode(sign(nvl(gjl.accounted_cr, 0)), 1,
-1 * mta.base_transaction_value, 0)) accounted_cr
FROM gl_je_lines gjl,
gl_je_headers gjh,
gl_code_combinations_kfv gcc,
gl_import_references gir,
gl_period_statuses gps,
mtl_transaction_accounts mta,
mtl_material_transactions mmt,
mtl_transaction_types mtt,
org_organization_definitions ood
WHERE gjl.je_header_id = gjh.je_header_id AND
gjl.code_combination_id = gcc.code_combination_id AND
gjl.je_header_id = gir.je_header_id AND
gjl.je_line_num = gir.je_line_num AND
gjh.set_of_books_id = gps.set_of_books_id AND
gjh.period_name = gps.period_name AND gps.application_id = 401 AND
gir.reference_1 = mta.gl_batch_id AND
gjl.code_combination_id = mta.reference_account AND
mta.transaction_date BETWEEN gps.start_date AND gps.end_date AND
mta.transaction_id = mmt.transaction_id AND
mmt.transaction_type_id = mtt.transaction_type_id AND
mmt.organization_id = ood.organization_id AND
--
mtt.transaction_type_name = 'Average cost update' AND
--
gjh.je_source = 'Inventory' AND gjh.je_category = 'MTL' AND
--
gjh.period_name = '06-2004' AND gjh.set_of_books_id = 1 AND
gjh.je_header_id = 3148
GROUP BY gjh.set_of_books_id,
mta.organization_id,
ood.organization_code,
ood.organization_name,
gjl.je_line_num,
mmt.transaction_source_name,
mmt.subinventory_code,
trunc(mmt.transaction_date),
mtt.transaction_type_name,
gcc.concatenated_segments
UNION ALL
SELECT gjh.set_of_books_id,
gjl.je_line_num,
mta.organization_id,
ood.organization_code,
ood.organization_name,
mtt.transaction_type_name,
rsh.receipt_num trx_number,
to_char(ooh.order_number) trx_source,
trunc(mmt.transaction_date) transaction_date,
gcc.concatenated_segments account,
SUM(decode(sign(nvl(mta.transaction_value, mta.base_transaction_value)),
1, nvl(mta.transaction_value, mta.base_transaction_value), 0, 0,
NULL)) entered_dr1,
SUM(decode(sign(nvl(mta.transaction_value, mta.base_transaction_value)),
-1,
(-1 * nvl(mta.transaction_value, mta.base_transaction_value)),
NULL)) entered_cr1,
SUM(decode(sign(mta.base_transaction_value), 1,
mta.base_transaction_value, 0, 0, NULL)) accounted_dr1,
SUM(decode(sign(mta.base_transaction_value), -1,
(-1 * mta.base_transaction_value), NULL)) accounted_cr1,
SUM(decode(sign(nvl(gjl.accounted_dr, 0)), 1,
nvl(mta.transaction_value, mta.base_transaction_value), 0)) entered_dr,
SUM(decode(sign(nvl(gjl.accounted_cr, 0)), 1,
-1 * nvl(mta.transaction_value, mta.base_transaction_value), 0)) entered_cr,
SUM(decode(sign(nvl(gjl.accounted_dr, 0)), 1, mta.base_transaction_value,
0)) accounted_dr,
SUM(decode(sign(nvl(gjl.accounted_cr, 0)), 1,
-1 * mta.base_transaction_value, 0)) accounted_cr
FROM gl_je_lines gjl,
gl_je_headers gjh,
gl_code_combinations_kfv gcc,
gl_import_references gir,
gl_period_statuses gps,
mtl_transaction_accounts mta,
mtl_material_transactions mmt,
mtl_transaction_types mtt,
rcv_transactions rt,
rcv_shipment_headers rsh,
oe_order_headers_all ooh,
org_organization_definitions ood
WHERE gjl.je_header_id = gjh.je_header_id AND
gjl.code_combination_id = gcc.code_combination_id AND
gjl.je_header_id = gir.je_header_id AND
gjl.je_line_num = gir.je_line_num AND
gjh.set_of_books_id = gps.set_of_books_id AND
gjh.period_name = gps.period_name AND gps.application_id = 401 AND
gir.reference_1 = mta.gl_batch_id AND
gjl.code_combination_id = mta.reference_account AND
mta.transaction_date BETWEEN gps.start_date AND gps.end_date AND
mta.transaction_id = mmt.transaction_id AND
mmt.transaction_type_id = mtt.transaction_type_id AND
mmt.organization_id = ood.organization_id AND
--
mtt.transaction_type_name = 'RMA Receipt' AND
rt.transaction_id = mmt.rcv_transaction_id AND
rt.shipment_header_id = rsh.shipment_header_id AND
rt.oe_order_header_id = ooh.header_id AND
--
gjh.je_source = 'Inventory' AND gjh.je_category = 'MTL' AND
--
gjh.period_name = '06-2004' AND gjh.set_of_books_id = 1 AND
gjh.je_header_id = 3148
GROUP BY gjh.set_of_books_id,
mta.organization_id,
ood.organization_code,
ood.organization_name,
gjl.je_line_num,
rsh.receipt_num,
ooh.order_number,
mmt.subinventory_code,
trunc(mmt.transaction_date),
mtt.transaction_type_name,
gcc.concatenated_segments
UNION ALL
SELECT gjh.set_of_books_id,
gjl.je_line_num,
mta.organization_id,
ood.organization_code,
ood.organization_name,
mtt.transaction_type_name,
to_char(mmt.transaction_set_id) trx_number,
mgd.segment1 trx_source,
trunc(mmt.transaction_date) transaction_date,
gcc.concatenated_segments account,
SUM(decode(sign(nvl(mta.transaction_value, mta.base_transaction_value)),
1, nvl(mta.transaction_value, mta.base_transaction_value), 0, 0,
NULL)) entered_dr1,
SUM(decode(sign(nvl(mta.transaction_value, mta.base_transaction_value)),
-1,
(-1 * nvl(mta.transaction_value, mta.base_transaction_value)),
NULL)) entered_cr1,
SUM(decode(sign(mta.base_transaction_value), 1,
mta.base_transaction_value, 0, 0, NULL)) accounted_dr1,
SUM(decode(sign(mta.base_transaction_value), -1,
(-1 * mta.base_transaction_value), NULL)) accounted_cr1,
SUM(decode(sign(nvl(gjl.accounted_dr, 0)), 1,
nvl(mta.transaction_value, mta.base_transaction_value), 0)) entered_dr,
SUM(decode(sign(nvl(gjl.accounted_cr, 0)), 1,
-1 * nvl(mta.transaction_value, mta.base_transaction_value), 0)) entered_cr,
SUM(decode(sign(nvl(gjl.accounted_dr, 0)), 1, mta.base_transaction_value,
0)) accounted_dr,
SUM(decode(sign(nvl(gjl.accounted_cr, 0)), 1,
-1 * mta.base_transaction_value, 0)) accounted_cr
FROM gl_je_lines gjl,
gl_je_headers gjh,
gl_code_combinations_kfv gcc,
gl_import_references gir,
gl_period_statuses gps,
mtl_transaction_accounts mta,
mtl_material_transactions mmt,
mtl_transaction_types mtt,
org_organization_definitions ood,
MTL_GENERIC_DISPOSITIONS mgd
WHERE gjl.je_header_id = gjh.je_header_id AND
gjl.code_combination_id = gcc.code_combination_id AND
gjl.je_header_id = gir.je_header_id AND
gjl.je_line_num = gir.je_line_num AND
gjh.set_of_books_id = gps.set_of_books_id AND
gjh.period_name = gps.period_name AND gps.application_id = 401 AND
gir.reference_1 = mta.gl_batch_id AND
gjl.code_combination_id = mta.reference_account AND
mta.transaction_date BETWEEN gps.start_date AND gps.end_date AND
mta.transaction_id = mmt.transaction_id AND
mmt.transaction_type_id = mtt.transaction_type_id AND
mmt.organization_id = ood.organization_id AND
--
mtt.transaction_type_name NOT IN
('Sales Order Pick', 'Sales order issue', 'PO Receipt', 'PO Rcpt Adjust',
'Subinventory Transfer', 'Move Order Transfer', 'Physical Inv Adjust',
'富通子库存转移', 'Average cost update', 'RMA Receipt') AND
mmt.transaction_source_id = mgd.disposition_id AND
mgd.organization_id = mmt.organization_id AND
--
gjh.je_source = 'Inventory' AND gjh.je_category = 'MTL' AND
--
gjh.period_name = '06-2004' AND gjh.set_of_books_id = 1 AND
gjh.je_header_id = 3148
GROUP BY gjh.set_of_books_id,
mta.organization_id,
ood.organization_code,
ood.organization_name,
gjl.je_line_num,
mmt.transaction_set_id,
mgd.segment1,
trunc(mmt.transaction_date),
mtt.transaction_type_name,
gcc.concatenated_segments
ORDER BY 2
总账追朔各模块SQL的更多相关文章
- Windows下也能够使用osw追朔系统历史性能
1.Windows系统历史性能分析困难背景 在Linux/Unix上.要追朔历史性能,一般採用部署nmon进行性能监控採集与存储的方式实现.可是却没有在Windows上的版本号. Windows系统假 ...
- Apache 'mod_accounting'模块SQL注入漏洞(CVE-2013-5697)
漏洞版本: mod_accounting 0.5 漏洞描述: BUGTRAQ ID: 62677 CVE ID: CVE-2013-5697 mod_accounting是Apache 1.3.x上的 ...
- Navicat工具、pymysql模块 sql注入
cls超 Navicat工具.pymysql模块 阅读目录 一 IDE工具介绍 二 pymysql模块 一 IDE工具介绍(Navicat) 生产环境还是推荐使用mysql命令行,但为了方便我们测试, ...
- MySQL多表查询,Navicat使用,pymysql模块,sql注入问题
一.多表查询 #建表 create table dep( id int, name varchar(20) ); create table emp( id int primary key auto_i ...
- PHPCMS v9.6.0 wap模块 SQL注入
调试这个漏洞的时候踩了个坑,影响的版本是php5.4以后. 由于漏洞是由parse_str()函数引起的,但是这个函数在gpc开启的时候(也就是php5.4以下)会对单引号进行过滤\' . 看这里: ...
- day40:python操作mysql:pymysql模块&SQL注入攻击
目录 part1:用python连接mysql 1.用python连接mysql的基本语法 2.用python 创建&删除表 3.用python操作事务处理 part2:sql注入攻击 1.s ...
- 【漏洞复现】PHPCMS wap模块 SQL注入(附EXP)
漏洞影响版本:v9.5.8.v9.6.0 Step1: 访问:http://www.xxx.com/index.php?m=wap&a=index&siteid=1, 获取返回的coo ...
- Navicat,SQL注入,pymysql模块
# 关键字exists(了解) 只返回布尔值 True False 返回True的时候外层查询语句执行 返回False的时候外层查询语句不再执行 select * from emp where exi ...
- PL/SQL一个简短的引论
前言 文本 PL/SQL (Procedure Language,程序语言)SQL 1999主要的数据库供应商提供结构化的共同语言 PL/SQL只有支持Oracle数据库 基本的语法 多行凝视 ...
随机推荐
- Android 实现串口的移植
安卓串口的实现,需要底层C++配合,不过这次我们根据framework中的思想,直接用API修改提供给JAVA层调用,这个就比较简单了. DEV项目需要,要实现在Android中实现串口的收发功能,有 ...
- dubbo安装
dubbo 管控台可以对注册到 zookeeper 注册中心的服务或服务消费者进行管理,分享牛系列,分享牛专栏,分享牛.但管控台是否正常对 Dubbo 服务没有影响,管控台也不需要高可用,因此可以单节 ...
- shiro架构
1 shiro介绍 1.1 什么是shiro 分享牛系列,分享牛专栏,分享牛.shiro是apache旗下一个开源框架,它将软件系统的安全认证相关的功能抽取出来,实现用户身份认证,权限授权.加密.会 ...
- Android基础知识点-Manifest清单文件
每个应用的根目录中都必须包含一个 AndroidManifest.xml 文件(且文件名精确无误). 清单文件向 Android 系统提供应用的必要信息,系统必须具有这些信息方可运行应用的任何代码. ...
- JAVA面向对象-----包机制
JAVA面向对象-–包机制 问题: 当定义了多个类的时候,可能会发生类名的重复问题. 在java中采用包机制处理开发者定义的类名冲突问题. 怎么使用java的包机制呢? 1.使用package 关键字 ...
- Java异常处理-----自行处理
自行处理 1.try{//可能发生异常的代码 }catch(异常类 变量名){//处理}. 2.案例除法运算的异常处理. 3.如果没有进行try catch处理,出现异常程序就停止.进行处理后,程序会 ...
- activiti 多实例任务
1.1.1. 前言 个人,那么当5个人都投票的时候大概分为如下几种: 1.部门所有人都去投票,当所有人都投票完成的时候,这个节点结束,流程运转到下一个节点.(所有的人都需要投票) 2.部门所有人都去投 ...
- qq安全原理
故事总要有缘由,那么这个故事的缘由就是,当我以前写了一个获取其它进程密码框密码的时候(前几篇博客中有描述),我抱着试一试的心情去试探了一下能不能得到 QQ 的密码,当我抓到密码框的句柄,然后输入给程序 ...
- 剑指Offer——银行网申内容模版
剑指Offer--银行网申内容模版 年获得"优秀共青团员"称号 2013.12 科技标兵 2013.10 三好学生 2013.10 "三下乡"优秀学生 2013 ...
- FFmpeg源代码简单分析:configure
===================================================== FFmpeg的库函数源代码分析文章列表: [架构图] FFmpeg源代码结构图 - 解码 F ...