Skip to content

Instantly share code, notes, and snippets.

View dungNHVhust's full-sized avatar
🎯

Nguyen Huy Vu Dung dungNHVhust

🎯
View GitHub Profile
@testanull
testanull / Microsoft SharePoint setup guide.md
Last active March 26, 2026 03:55
Microsoft SharePoint setup guide
@mccabe615
mccabe615 / phpdangerousfuncs.md
Last active April 9, 2026 20:16
Dangerous PHP Functions

Command Execution

exec           - Returns last line of commands output
passthru       - Passes commands output directly to the browser
system         - Passes commands output directly to the browser and returns last line
shell_exec     - Returns commands output
\`\` (backticks) - Same as shell_exec()
popen          - Opens read or write pipe to process of a command
proc_open      - Similar to popen() but greater degree of control
pcntl_exec - Executes a program
@HarmJ0y
HarmJ0y / PowerView-3.0-tricks.ps1
Last active May 5, 2026 14:54
PowerView-3.0 tips and tricks
# PowerView's last major overhaul is detailed here: http://www.harmj0y.net/blog/powershell/make-powerview-great-again/
# tricks for the 'old' PowerView are at https://gist.github.com/HarmJ0y/3328d954607d71362e3c
# the most up-to-date version of PowerView will always be in the dev branch of PowerSploit:
# https://github.com/PowerShellMafia/PowerSploit/blob/dev/Recon/PowerView.ps1
# New function naming schema:
# Verbs:
# Get : retrieve full raw data sets
# Find : ‘find’ specific data entries in a data set
@JGrossholtz
JGrossholtz / modbus_rs232_master_client.c
Last active February 4, 2026 21:07
A sample libmodbus client / server (master/slave) using RS232 to request data from a modbus client (tested with libmodbus3.0.6)
#include <stdio.h>
#include <unistd.h>
#include <modbus.h>
#include <string.h>
#include <errno.h>
#include <sys/ioctl.h>
#include <linux/serial.h>
#include <asm/ioctls.h>
#define NB_REGS 2