Skip to content

Instantly share code, notes, and snippets.

breaking shit


breaking shit
Block or report user

Report or block jiva

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
jiva /
Created Feb 11, 2020 — forked from mccabe615/
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
jiva /
Created Jul 17, 2019 — forked from nneonneo/
A simple socks server via python - updated for Pythonista (iOS)
# -*- coding: utf-8 -*-
# 一个简单的 Socks5 代理服务器 , 只有 server 端 , 而且代码比较乱
# 不是很稳定 , 而且使用多线程并不是 select 模型
# Author : WangYihang <>
import socket
import threading
import sys
jiva / logstash.conf
Created Nov 5, 2016 — forked from robinsmidsrod/logstash.conf
Logging Windows event log information to Logstash using nxlog and JSON transport
View logstash.conf
input {
tcp {
type => "syslog"
host => ""
port => 3514
tcp {
type => "eventlog"
host => ""
port => 3515
jiva / gist:6250a472d3f8b02e2ea241d32a6a4282
Created May 9, 2016 — forked from jpetitcolas/gist:5967887
Encode/decode a base64 encoded string in PostGreSQL
View gist:6250a472d3f8b02e2ea241d32a6a4282
-- Decoding
-- Encoding
SELECT ENCODE(CONVERT_TO(field, 'UTF-8'), 'base64') FROM table;

Keybase proof

I hereby claim:

  • I am jiva on github.
  • I am jiva ( on keybase.
  • I have a public key whose fingerprint is 83F7 3319 11BB C19A 31E7 C7F9 84CF 57DB 6526 410A

To claim this, I am signing this object:

You can’t perform that action at this time.