This file contains 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
version: "3" | |
services: | |
gitlab: | |
container_name: gitlab | |
image: 'gitlab/gitlab-ce:latest' | |
restart: always | |
hostname: 'example.com' | |
environment: | |
GITLAB_OMNIBUS_CONFIG: | |
This file contains 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
Windows Registry Editor Version 5.00 | |
[HKEY_CLASSES_ROOT\exefile\shell\ForceBindIP] | |
@="Run through INTERFACE_NAME" | |
[HKEY_CLASSES_ROOT\exefile\shell\ForceBindIP\command] | |
@="C:\\Program Files (x86)\\ForceBindIP\\ForceBindIP64.exe -i {INTERFACE_GUID} \"%l\"" | |
This file contains 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
// ==UserScript== | |
// @name Amozeshyar Bypass iGap | |
// @version 1 | |
// @description Bypass Amozeshyar iGap code | |
// @author Yedoost | |
// @match http://stdn.iau.ac.ir/Student/captchaProcess | |
// @match http://stdn.iau.ac.ir/Student/manageAccount | |
// @grant none | |
// ==/UserScript== |
This file contains 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
[ | |
{ | |
"bank": "markazi", | |
"title": "اداره معاملات ریالی بانک مرکزی", | |
"bin": "636795" | |
}, | |
{ | |
"bank": "sanat", | |
"title": "بانک صنعت و معدن", | |
"bin": "627961" |
This file contains 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
#!/bin/bash | |
docker exec -it pihole pihole -w clients4.google.com clients2.google.com s.youtube.com video-stats.l.google.com \ | |
android.clients.google.com reminders-pa.googleapis.com firestore.googleapis.com gstaticadssl.l.google.com \ | |
googleapis.l.google.com dl.google.com redirector.gvt1.com www.msftncsi.com outlook.office365.com products.office.com \ | |
c.s-microsoft.com i.s-microsoft.com login.live.com login.microsoftonline.com \ | |
g.live.com dl.delivery.mp.microsoft.com geo-prod.do.dsp.mp.microsoft.com displaycatalog.mp.microsoft.com \ | |
sls.update.microsoft.com.akadns.net fe3.delivery.dsp.mp.microsoft.com.nsatc.net tlu.dl.delivery.mp.microsoft.com \ | |
msedge.api.cdp.microsoft.com clientconfig.passport.net v10.events.data.microsoft.com v20.events.data.microsoft.com \ | |
client-s.gateway.messenger.live.com arc.msn.com activity.windows.com \ |
This file contains 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
<?php | |
const PASSPHRASE = ''; // use 'openssl rand -hex 32' to generate key, same with python | |
function encrypt(array $data): string | |
{ | |
$data_json_64 = base64_encode(json_encode($data)); | |
$secret_key = hex2bin(PASSPHRASE); | |
$iv = openssl_random_pseudo_bytes(openssl_cipher_iv_length('aes-256-gcm')); | |
$tag = ''; | |
$encrypted_64 = openssl_encrypt($data_json_64, 'aes-256-gcm', $secret_key, 0, $iv, $tag); |
This file contains 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
#!/bin/bash | |
SUB=$(curl --silent https://subscene.com/subtitles/only-murders-in-the-building-first-season/farsi_persian --proxy $proxyip:10808) | |
if [[ $SUB == *"S01E05"* ]]; then | |
echo "found!" | |
# spd-say "subtitle found!" # apt-get install speech-dispatcher | |
curl --silent https://api.telegram.org/botBOT_TOKEN/sendMessage\?chat_id\=YOUR_USER_ID\&text\=Subtitle%20Found\! --proxy $proxyip:10808 | |
exit 1 | |
else |
This file contains 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
<?php | |
const PASSPHRASE = 'your-secret-pass-phrase-for-encryption'; | |
$encrypted_data = file_get_contents('php://input'); | |
$data = decrypt($encrypted_data); | |
if (!isset($data['method'], $data['request'], $data['bot_token'])){ | |
die('no method or request'); | |
} |
This file contains 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
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; | |
using ECDSA for bytes32; | |
// verify signature | |
if ( | |
keccak256(abi.encodePacked(msg.sender, address(this))).toEthSignedMessageHash().recover(signature) != | |
owner() | |
) revert InvalidSignature(); |
This file contains 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
// SPDX-License-Identifier: MIT | |
pragma solidity 0.8.13; | |
contract SimpleSplitter { | |
event Received(address, uint256); | |
error PaymentFailed(); | |
error WrongShares(); | |
address private immutable _addr1; |
OlderNewer