Offensive Lua is a collection of offensive security scripts written in Lua with FFI. The scripts run with LuaJIT (v2.0.5) on Microsoft Windows to perform common tasks.
Lua is a lesser used but very useful choice for post-exploitation scripting language. It’s flexible, lightweight, easy to embed, runs interpreted or as bytecode from memory and allows for JIT to interact with the host OS libraries.
Filename | Description |
---|---|
bin2hex.lua | Convert a binary to hex for binrun.lua |
binrun.lua | Writes a hex of EXE to a random location and exec’s |
bindshell.lua | bind a shell on TCP port 5000 |
ComputerDefaultsUACBypass.lua | Bypass UAC restrictions via ms-settings |
console.lua | Console App Example |
downloadexec.lua | Download & Exec over HTTP |
downloadexec_UACbypass.lua | Download & BypassUAC & Exec over HTTP |
filewrite.lua | Write a file |
luajit.exe | LuaJIT compiled from our internal source tree. |
messagebox.lua | MessageBox Example |
regread.lua | Read from Registry |
regwrite.lua | Write to Registry |
regwritedel.lua | Write and Delete from Registry |
rickroll.lua | Open a browser on URL |
runcmd.lua | Run a command popen |
runcmd2.lua | Run a command os.execute |
runswhide.lua | Run a command via CreateProcess with SW_HIDE |
uac_bypass_bluetooth_win10.lua | Bypass UAC via Bluetooth on Windows10 |
shadow-rs is a Windows kernel rootkit written in Rust, demonstrating advanced techniques for kernel manipulation…
Extract and execute a PE embedded within a PNG file using an LNK file. The…
Embark on the journey of becoming a certified Red Team professional with our definitive guide.…
This repository contains proof of concept exploits for CVE-2024-5836 and CVE-2024-6778, which are vulnerabilities within…
This took me like 4 days (+2 days for an update), but I got it…
MaLDAPtive is a framework for LDAP SearchFilter parsing, obfuscation, deobfuscation and detection. Its foundation is…