Skip to content

Instantly share code, notes, and snippets.

@qmacro
Created May 3, 2012 21:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save qmacro/2589735 to your computer and use it in GitHub Desktop.
Save qmacro/2589735 to your computer and use it in GitHub Desktop.
Revealing the embedded jQuery 1.6.2 in an SAP NetWeaver Gateway system (2.0 SP03)
class ZCL_DJ0 definition
public
inheriting from /IWCOR/CL_DS_HDLR_DEBUG
final
create public .
public section.
class-methods RUN .
protected section.
private section.
ENDCLASS.
CLASS ZCL_DJ0 IMPLEMENTATION.
* <SIGNATURE>---------------------------------------------------------------------------------------+
* | Static Public Method ZCL_DJ0=>RUN
* +-------------------------------------------------------------------------------------------------+
* +--------------------------------------------------------------------------------------</SIGNATURE>
method RUN.
data lv_string type string.
lv_string = cl_http_utility=>decode_base64( load_jquery_min_js( ) ).
write lv_string.
endmethod.
ENDCLASS.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment