Skip to content

Instantly share code, notes, and snippets.

View mason276752's full-sized avatar
😇

Mason mason276752

😇
View GitHub Profile
const ethers = require('ethers')
const randomWallet = new ethers.Wallet.createRandom()
let address = ""
const chainId= 0
const count = 1000
const wsUrl = "ws://xxx.xxx.xxx.xxx:xxxx"
const txs = [];
(async () => {
// let mobiles=["xxxx":{"to":"oooo","count":0,"finded":false},...]
let ms=Object.keys(mobiles)
ms.forEach(function active(mobile){
if(!mobiles[mobile].finded && mobiles[mobile].count<3 && mobiles[mobile].to!==""){
mobiles[mobile].count=mobiles[mobile].count+1
if(!mobiles[mobiles[mobile].to]){
mobiles[mobile].finded=true
return console.log('can not found ',mobiles[mobile].to)
}else{
active(mobiles[mobile].to)
let Web3 = require('web3');
let web3 = new Web3()
web3.setProvider("https://mainnet.infura.io/v3/xxx")
let txids=[
// "0x...",
]
txids.forEach(
txid=>{
@mason276752
mason276752 / magicLine.sh
Created March 24, 2020 05:23
magic line
# set all git git config core.filemode false
find ./ -name .git -exec sh -c "cd `echo $HOME`/'{}'/../;git config core.filemode false" \;
@mason276752
mason276752 / aLoop.js
Last active March 12, 2020 11:02
youtube ab loop
javascript:aloop=document.getElementsByClassName('video-stream html5-main-video')[0].currentTime;if(aloop!=null &&bloop!=null){if(aloop!="undefined" && bloop!="undefined" && aloop!=bloop ){document.getElementsByClassName('video-stream html5-main-video')[0].addEventListener("timeupdate",function(){if(aloop>bloop&&document.getElementsByClassName('video-stream html5-main-video')[0].currentTime>aloop){document.getElementsByClassName('video-stream html5-main-video')[0].currentTime=bloop;}else if(bloop>aloop&&document.getElementsByClassName('video-stream html5-main-video')[0].currentTime>bloop){document.getElementsByClassName('video-stream html5-main-video')[0].currentTime=aloop;}},false);}}
#!/usr/local/bin/python
# -*- coding: utf8 -*-
from scapy.all import *
import time,re
import threading
import urllib
def send_arp_pkg():
global mac1,mac2,mac3,ip1,ip2,ip3
print "---arp---"
@mason276752
mason276752 / nogfwlist.txt
Last active June 29, 2019 03:59
nogfwlist.txt
We couldn’t find that file to show.
<!DOCTYPE html>
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style>
body {
background: repeat url('data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/7QCIUGhvdG9zaG9wIDMuMAA4QklNBAQAAAAAAGscAVoAAxslRxwCAAACAAAcAnQAV8KpIENoYWV5b3VuZ1dpbGxOZXZlckNoYWVvbGQgLSBodHRwOi8vd3d3LnJlZGJ1YmJsZS5jb20vcGVvcGxlL0NoYWV5b3VuZ1dpbGxOZXZlckNoYWVvbAD/4gxYSUNDX1BST0ZJTEUAAQEAAAxITGlubwIQAABtbnRyUkdCIFhZWiAHzgACAAkABgAxAABhY3NwTVNGVAAAAABJRUMgc1JHQgAAAAAAAAAAAAAAAAAA9tYAAQAAAADTLUhQICAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABFjcHJ0AAABUAAAADNkZXNjAAABhAAAAGx3dHB0AAAB8AAAABRia3B0AAACBAAAABRyWFlaAAACGAAAABRnWFlaAAACLAAAABRiWFlaAAACQAAAABRkbW5kAAACVAAAAHBkbWRkAAACxAAAAIh2dWVkAAADTAAAAIZ2aWV3AAAD1AAAACRsdW1pAAAD+AAAABRtZWFzAAAEDAAAACR0ZWNoAAAEMAAAAAxyVFJDAAAEPAAACAxnVFJDAAAEPAAACAxiVFJDAAAEPAAACAx0ZXh0AAAAAENvcHlyaWdodCAoYykgMTk5OCBIZXdsZXR0LVBhY2thcmQgQ29tcGFueQAAZGVzYwAAAAAAAAASc1JHQiBJRUM2MTk2Ni0yLjEAAAAAAAAAAAAAABJzUkdCIElFQzYxOTY2LTIuMQAAAAAAAA
@mason276752
mason276752 / PopularPasswords10KMost.js
Created April 22, 2018 08:04
10K-Most-Popular-Passwords
["password", "123456", "12345678", "1234", "qwerty", "12345", "dragon", "pussy", "baseball", "football", "letmein", "monkey", "696969", "abc123", "mustang", "michael", "shadow", "master", "jennifer", "111111", "2000", "jordan", "superman", "harley", "1234567", "fuckme", "hunter", "fuckyou", "trustno1", "ranger", "buster", "thomas", "tigger", "robert", "soccer", "fuck", "batman", "test", "pass", "killer", "hockey", "george", "charlie", "andrew", "michelle", "love", "sunshine", "jessica", "asshole", "6969", "pepper", "daniel", "access", "123456789", "654321", "joshua", "maggie", "starwars", "silver", "william", "dallas", "yankees", "123123", "ashley", "666666", "hello", "amanda", "orange", "biteme", "freedom", "computer", "sexy", "thunder", "nicole", "ginger", "heather", "hammer", "summer", "corvette", "taylor", "fucker", "austin", "1111", "merlin", "matthew", "121212", "golfer", "cheese", "princess", "martin", "chelsea", "patrick", "richard", "diamond", "yellow", "bigdog", "secret", "asdfgh", "sparky", "cowboy
@mason276752
mason276752 / index.html
Created April 17, 2018 06:29 — forked from jerrybendy/ index.html
一个使用 HTML5 录音的例子(网上看到的,收藏下)
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
</head>
<body>
<div>
<audio controls autoplay></audio>
<input onclick="startRecording()" type="button" value="录音" />