Skip to content

Instantly share code, notes, and snippets.

View hypnguyen1209's full-sized avatar
🏠
Working from home

Nguyen Van Hiep hypnguyen1209

🏠
Working from home
View GitHub Profile
#!/usr/bin/env python2
# -*- coding: utf-8 -*-
import json
import io
from lxml import html
import math
import ntpath
import os
import requests
javascript: function OpenInNewTab(url) { var win = window.open(url, '_blank'); win.focus(); } var imgst = document.querySelector("img[class='_ntjhp _ro0gg']"); var videost = document.querySelector("source"); var link = (videost ==''||videost==null||videost==undefined) ? imgst : videost; OpenInNewTab(link.getAttribute("src"));
<# :
@echo off
copy/b "%~f0" "%temp%\%~n0.ps1" >nul
powershell -v 2 -ep bypass -noprofile "%temp%\%~n0.ps1" "'%cd% '" "'%~1'"
del "%temp%\%~n0.ps1"
echo: & pause
exit /b
#>
param([string]$cwd='.', [string]$dll)
@hypnguyen1209
hypnguyen1209 / css-card-1-codepen-card.markdown
Created August 7, 2018 11:04
CSS Card #1 - Codepen Card
<?php
date_default_timezone_set("Asia/Ho_Chi_Minh");
define('ENDPOINT', 'https://graph.fb.me/');
define('ACCESS_TOKEN', 'YOUR_ACCESS_TOKEN'); // Thay YOUR_ACCESS_TOKEN thành Token của bạn
define('CRUSH_USER_ID', 'USER_ID'); // Thay USER_ID thành ID của Cursh
define('YOUR_USER_ID', 'USER_ID'); // Thay USER_ID thành ID của bạn
$list_reaction = ['LIKE', 'LOVE', 'WOW', 'HAHA', 'SAD', 'ANGRY']; // List Reactions
$posts = curl(ENDPOINT.CRUSH_USER_ID.'/posts?fields=id&limit=1&access_token='.ACCESS_TOKEN); // Get list status
$idFirstPost = $posts->data[0]->id; // Get first ID status
if(!checkReaction($idFirstPost)) {
<?php
define('USERNAME', 'Nhập username vào đây');
define('PASSWORD', 'Nhập password vào đây');
function get_token($username, $password, $type = 'android')
{
$linklist = 'https://api.facebook.com/restserver.php';
if ($type == 'android') {
$data = array(
'api_key' => '882a8490361da98702bf97a021ddc14d',
'email' => $username,
<?php
$emall = "";
$pass = "";
function sign_creator(&$data){
$sig = "";
foreach($data as $key => $value){
$sig .= "$key=$value";
}
//$sig .= 'c1e620fa708a1d5696fb991c1bde5662'; IOS
$sig .= '62f8ce9f74b12f84c123cc23437a4a32'; // Android
@echo off
CLS
ECHO.
ECHO =============================
ECHO Running Admin shell
ECHO
ECHO api.adguard.com
ECHO api-b.adguard.com
ECHO 176.103.133.92
ECHO 104.20.30.130
<?php
set_time_limit(0);
define('ID', ''); // ID bài viết
define('ACCESS_TOKEN', ''); // EAAA...
$followURL = "https://graph.facebook.com/me/subscribers?fields=id&limit=5000&access_token=".ACCESS_TOKEN;
$friendURL = "https://graph.facebook.com/fql?q=SELECT+uid+FROM+user+WHERE+uid+IN+(SELECT+uid2+FROM+friend+WHERE+uid1+=+me())++ORDER+BY+rand()+LIMIT+5000&access_token=".ACCESS_TOKEN;
$commentURL = "https://graph.facebook.com/v3.3/".ID."/comments?fields=from,message&limit=5000&offset=0&access_token=".ACCESS_TOKEN;
function CURL($url) {
$ch = curl_init($url);
curl_setopt_array($ch, array(
@hypnguyen1209
hypnguyen1209 / list-of-hacking-games.md
Created July 27, 2019 04:50 — forked from fakhrullah/list-of-hacking-games.md
List of hacking game, wargame or capture the flag (CTF) for some one who want to learn hacking.

I am programmer who want to learn hacking. I start by playing online wargame. Here I list free online wargame available to anyone who want to learn hacking.

Available online to play

Need to download and deploy on own host