Skip to content

Instantly share code, notes, and snippets.

Avatar
🌴
On vacation

林果皞 limkokhole

🌴
On vacation
View GitHub Profile
View Popcat no-click bot.js
/*
1) Open https://popcat.click
2) Open console (F12 or CTRL+SHIFT+I)
3) Insert code & run
4) Monitor bot progress in the console
Note: popcat.click server registers only 800 pops every 30 seconds per IP address (that's why this bot is slow and runnig it in multiple tabs won't work).
If you'll send 800 or more clicks 10 times in a row, you'll get banned for 12 hours ("ban" cookie is set).
This bot addresses this issue and will NOT get you banned.
@limkokhole
limkokhole / SystemCallHooking.c
Created Apr 7, 2021 — forked from mike820324/SystemCallHooking.c
An example of Hooking Linux System Call
View SystemCallHooking.c
#include <linux/module.h>
#include <linux/printk.h>
#include <linux/fs.h>
#include <linux/sched.h>
#include <asm/unistd.h>
#include <asm/pgtable_types.h>
#include <linux/highmem.h>
#include "hook_function_ptr.h"
@limkokhole
limkokhole / .curlrc
Created Jan 31, 2021 — forked from v1m/.curlrc
sample .curlrc file
View .curlrc
#this is a sample .curlrc file
# store the trace in curl_trace.txt file. beware that multiple executions of the curl command will overwrite this file
--trace curl_trace.txt
# store the header info in curl_headers.txt file. beware that multiple executions of the curl command will overwrite this file
--dump-header curl_headers.txt
#change the below referrer URL or comment it out entirely
-e "https://www.google.com"
View dns_basics.md

#DNS Basics Domain names are a core feature of the internet. It is simply a mechanism to give a friendly name to remove the need to use ip addresses directly. It also has a number of advantages, such as:

  1. It allows you to have more than one domain name pointing at the same ip address (ie same website).
  2. It allows you to host more than one website on a specific ip address (ie shared hosting, the website shown in the one associated with the domain name)
Record Type
@limkokhole
limkokhole / fuckbaidu.js
Created Jan 14, 2021 — forked from kasuganosoras/fuckbaidu.js
去掉百度的反爬虫内容
View fuckbaidu.js
// ==UserScript==
// @name Fuck Baidu Zhidao
// @namespace http://www.baidu.com/
// @version 0.1
// @description try to fuck over the baidu!
// @author Baidu
// @match https://zhidao.baidu.com/question/*.html
// @grant none
// ==/UserScript==
@limkokhole
limkokhole / ascii_movie_image_ver_1.py
Last active Dec 17, 2020 — forked from MotionDesignStudio/ascii_movie_image_ver_1.py
Python ASCII Video And ASCII Image Creator
View ascii_movie_image_ver_1.py
import sys
import cv2
import subprocess
from subprocess import call
import aalib # python3 -m pip install python-aalib
import PIL # python3 -m pip install Pillow
from PIL import ImageFont
from PIL import Image
View AudienceNetworkPrebid.js
/*1484157874,,JIT Construction: v2773152,en_US*/
/**
* Copyright Facebook Inc.
*
* Licensed under the Apache License, Version 2.0
* http://www.apache.org/licenses/LICENSE-2.0
*/
try {
window.AudienceNetworkPrebid || (function(window, fb_fif_window) {
var apply = Function.prototype.apply;
View messenger.Extensions.debug.js
/*1539272086,,JIT Construction: v4409275,en_US*/
/**
* Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
*
* You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
* copy, modify, and distribute this software in source code or binary form for use
* in connection with the web services and APIs provided by Facebook.
*
* As with any software that integrates with the Facebook platform, your use of
@limkokhole
limkokhole / mozlz4a.py
Created Aug 14, 2020 — forked from kaefer3000/mozlz4a.py
MozLz4a compression/decompression utility
View mozlz4a.py
#!/usr/bin/env python
#
# Decompressor/compressor for files in Mozilla's "mozLz4" format. Firefox uses this file format to
# compress e. g. bookmark backups (*.jsonlz4).
#
# This file format is in fact just plain LZ4 data with a custom header (magic number [8 bytes] and
# uncompressed file size [4 bytes, little endian]).
#
# This Python 3 script requires the LZ4 bindings for Python, see: https://pypi.python.org/pypi/lz4
#
@limkokhole
limkokhole / README.md
Created Jul 23, 2020 — forked from mw-ferretti/README.md
Paypal button on markdown github
View README.md

Steps:

<!-- Sample of code generated --> 
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="RGQ8NSYPA59FL">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/pt_BR/i/scr/pixel.gif" width="1" height="1">