Skip to content

Instantly share code, notes, and snippets.

View 709924470's full-sized avatar

Walter J. 709924470

View GitHub Profile
@709924470
709924470 / mips-mti.cmake
Last active April 11, 2024 10:29
MIPS CMake Toolchain file
# This file is derived from RISC-V CMake cross compile template.
# Please install or put MIPS-MTI-ELF(or other) toolchain in your path before using this toolchain file.
#include(CMakeForceCompiler)
# usage
# cmake -DCMAKE_TOOLCHAIN_FILE={PATH_TO_TOOLCHAINS}/mips-mti.cmake {BUILD_SOURCE}
# or
# include(${CMAKE_CURRENT_SOURCE_DIR}/{PATH_TO_TOOLCHAINS}/mips-mti.cmake)
# Look for GCC in path
@709924470
709924470 / create_hardlink_drag_here.bat
Last active February 11, 2024 16:40
Windows quick hardlink
@709924470
709924470 / CVE-2023-21939.md
Created August 29, 2023 18:42 — forked from win3zz/CVE-2023-21939.md
CVE-2023-21939 - Code Exec - Proof of Concept

CVE-2023-21939 - Code Exec - Proof of Concept

Vulnerability Summary: Vulnerability in the Oracle Java SE, Oracle GraalVM Enterprise Edition product of Oracle Java SE (component: Swing). Supported versions that are affected are Oracle Java SE: 8u361, 8u361-perf, 11.0.18, 17.0.6, 20; Oracle GraalVM Enterprise Edition: 20.3.9, 21.3.5 and 22.3.1. Easily exploitable vulnerability allows unauthenticated attacker with network access via HTTP to compromise Oracle Java SE, Oracle GraalVM Enterprise Edition. Successful attacks of this vulnerability can result in unauthorized update, insert or delete access to some of Oracle Java SE, Oracle GraalVM Enterprise Edition accessible data. Note: This vulnerability applies to Java deployments, typically in clients running sandboxed Java Web Start applications or sandboxed Java applets, that load and run untrusted code (e.g., code that comes from the internet) and rely on the Java sandbox for security. This vulnerability can also be exploited by using APIs in the specifie

Windows Registry Editor Version 5.00
[-HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{679F137C-3162-45da-BE3C-2F9C3D093F64}]
@709924470
709924470 / shell.py
Last active September 30, 2021 06:54
x64dbgpy interactive shell
# @LICENSE: CC-BY 4.0 By @709924470
# This simple script creates prompts for you to enter python commands, and will display results in log window
# Tested with x64dbg + x64dbgpy + Python 2.7.13
inp = None
Gui = pluginsdk.gui
import code
shell = code.InteractiveConsole(locals=globals())
while inp not in ["exit()"]:
inp = Gui.InputLine("Command")
if not inp:
@709924470
709924470 / hookNativeFunc.js
Created December 22, 2019 17:17
Frida android native hooking
// Android native hooks By @709924470
// CC-BY-NC 4.0
var moduleName = "libmain.so"; // Module name gose here
var hookFunctions = [
{
name: "Java_com_example_hellojni_getstr", // Function name goes here
onEnter: function(args){
// TODO: your code here
},
onLeave: function(ret){