Skip to content

Instantly share code, notes, and snippets.

View aleister1102's full-sized avatar
🎯
✨✨✨

Lê Minh Quân aleister1102

🎯
✨✨✨
View GitHub Profile
@aleister1102
aleister1102 / contracts...IdentityVerification.sol
Created June 11, 2024 12:31
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.26+commit.8a97fa7a.js&optimize=false&runs=200&gist=
pragma solidity ^0.8.0;
contract IdentityVerification {
address public owner;
bool public isVerified;
constructor() {
owner = msg.sender;
uint size;
address identity = owner;
#include <windows.h>
#include <tlhelp32.h>
#include <iostream>

using namespace std;

bool HollowProcess(char *szSourceProcessName, char *szTargetProcessName)
{
 HANDLE hSnapshot = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0);
@aleister1102
aleister1102 / GoogleDorking.md
Created February 13, 2024 18:41 — forked from sundowndev/GoogleDorking.md
Google dork cheatsheet

Google dork cheatsheet

Search filters

Filter Description Example
allintext Searches for occurrences of all the keywords given. allintext:"keyword"
intext Searches for the occurrences of keywords all at once or one at a time. intext:"keyword"
inurl Searches for a URL matching one of the keywords. inurl:"keyword"
allinurl Searches for a URL matching all the keywords in the query. allinurl:"keyword"
intitle Searches for occurrences of keywords in title all or one. intitle:"keyword"
@aleister1102
aleister1102 / php-reverse-shell.php
Created December 9, 2023 11:55
PHP Reverse Shell from Pentest Monkey
<?php
// php-reverse-shell - A Reverse Shell implementation in PHP
// Copyright (C) 2007 pentestmonkey@pentestmonkey.net
//
// This tool may be used for legal purposes only. Users take full responsibility
// for any actions performed using this tool. The author accepts no liability
// for damage caused by this tool. If these terms are not acceptable to you, then
// do not use this tool.
//
// In all other respects the GPL version 2 applies:
@aleister1102
aleister1102 / courseRating.js
Last active June 19, 2023 05:27
Script đánh giá môn học
(function rating() {
const value = 5; // Chỉnh giá trị muốn đánh giá ở đây
for (let i = 0; i < 9; i++) {
const rows = document.querySelectorAll("tr");
rows.forEach((row) => {
const radioButton = row.querySelector(`input[type='radio']:nth-of-type(${value})`);
if(radioButton)
radioButton.checked = true;
})
@aleister1102
aleister1102 / registerCourses.js
Last active February 28, 2024 20:22
Script camp đăng ký học phần sử dụng Tampermonkey
var expectedCourses = {CSC11002: "20_4",CSC15002: "20_22"}
var interval = 10
function register() {
const courses = document.querySelectorAll("table:not(#tbDSDaDK) tbody tr")
const submit = document.querySelectorAll("input[type='submit']")[1]
function selectExpectedCourses() {
let found = false
courses.forEach((course) => {