This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Copyright (C) 2025 Launium, all rights reserved. | |
* This is a practice project and comes with ABSOLUTELY | |
* NO WARRANTY, full of unsafe function calls, unverified code | |
* and your computer may end up nuked. | |
* DO NOT COPY ANY PART OF THE CODE or you may face | |
* attacks such as buffer overflow, code injection, etc. | |
* Anyway, use at your own risk. :) | |
* @date May 9th, 2025 | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import "fmt" | |
func main() { | |
var x, y uint64 = 0x123456789abcdef0, 0xfedcba9876543213 | |
fmt.Printf("Before shift: %016x%016x\n", x, y) | |
//y <<= 8 | |
//x = x<<8 | y>>(64-8) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
This code was written in pure C. | |
Build it with: (Windows only) | |
gcc ./mcping.c -o mcping.exe -lws2_32 -O2 | |
MCPing v0.1.1 | |
By Launium 2023. GitHub @layou233. | |
License: CC-BY-SA 3.0 | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// X25519 example in Go | |
// Author: layou233 | |
// License: WTFPL | |
package main | |
import ( | |
"crypto/rand" | |
"encoding/hex" | |
"fmt" | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Copyright (c) 2021 layou233 | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: | |
The above copyright notice and this permission notice shall be included in all |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html><head><title>EsuDog</title><script>window.location.href='https://api.smokeclient.cn/qb-api/?qq='+prompt('EsuDog: Input QQ Number')</script></head></html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from sys import version | |
if int(version[0])<3: | |
range=xrange | |
filename=input('File name(.txt): ')+'.txt' | |
with open(filename,'w') as file: | |
while True: | |
try: | |
ipstart,ipend=[i.split('.') for i in input('IP range(split by -): ').split('-')] | |
ipstart=[int(i) for i in ipstart] |