Skip to content

Instantly share code, notes, and snippets.

View rainb3rry's full-sized avatar

rainb3rry

  • Portofino
View GitHub Profile
@rainb3rry
rainb3rry / swipe.js
Created November 12, 2023 20:04
tinder auto swiper javascript function
var count = 0;
var bypass = 0;
var blacklist = ['trans', 'chubby', '🏳️‍⚧️', 'ladyboy', 'shemale'];
async function do_act() {
count++
let name = document.querySelectorAll('[itemprop="name"')[1].textContent;
let desc = '';
if (document.querySelectorAll('[class="BreakWord Whs(pl) Typs(body-1-regular) Ta(start) LineClamp(5,118.120px)"')[1]) {
desc = document.querySelectorAll('[class="BreakWord Whs(pl) Typs(body-1-regular) Ta(start) LineClamp(5,118.120px)"')[1].textContent;
}
setTimeout(function() { // avoid java.lang.ClassNotFoundException
Java.perform(() => {
console.log('');
console.log('======');
console.log('[#] Android OKHttp logging by M4v3r1ck [#]');
console.log('======');
This file has been truncated, but you can view the full file.
(function (document, window) {
/*
stats.js - http://github.com/mrdoob/stats.js
Copyright (c) 2009-2016 stats.js authors
MIT License
This program uses code provided under the MIT License.
MIT License
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files
@rainb3rry
rainb3rry / amass_purifier.sh
Created September 19, 2020 08:19
Amass output purifier for just domains
while read p; do
echo $p | cut -c19-2000000 | cut -f1 -d" " >> purified.txt
done < output.txt
@rainb3rry
rainb3rry / unzip.vbs
Created February 19, 2020 19:47
Unzip archive files without dialog box in Visual Basic Script (plain state of https://github.com/jgstew/tools/blob/master/VBS/zipExtract.vbs)
Dim strZipFilePath, objOutputFolder, objFSO, objShell
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objShell = CreateObject( "Shell.Application" )
strZipFilePath = "C:\Users\x\Desktop\file.zip"
objOutputFolder = "C:\Users\x\Desktop"
objShell.NameSpace( objOutputFolder ).copyHere ( objShell.NameSpace( objFSO.GetAbsolutePathName( strZipFilePath ) ).Items() ), 1044
const request = require('request')
const fs = require('graceful-fs')
fs.readFile('data.txt', 'utf-8', (err, res) => {
var data = res.replace(/<BR>/g, '\n').split('\n').map(val => (val.substr(0, 1) != '.') ? val : val.substr(1, val.length - 1)).slice(0, -1)
function go(count) {
var link = 'http://' + data[count]
request(link, {forever: false, timeout: 15000}, function(err, response, body) {
@rainb3rry
rainb3rry / n11-reg.js
Last active October 9, 2018 04:15
try registration with post request but site has a token control
const request = require('request');
const cheerio = require('cheerio');
let register = 'https://www.n11.com/uye-ol'
request(register, function (error, response, body) {
const $ = cheerio.load(body);
let token = $('.birthDate').next().next().next().next().val();
console.log(token);
request.post(
@rainb3rry
rainb3rry / iller.js
Created March 23, 2018 21:29 — forked from Biostate/iller.js
Türkiye iller ve ilçeleri Array
var iller = {
"Ankara": ["Altındağ", "Ayaş", "Bala", "Beypazarı", "Çamlıdere", "Çankaya", "Çubuk", "Etimesgut", "Haymana", "Kalecik", "Keçiören", "Kızılcahamam", "Mamak", "Nallıhan", "Polatlı", "Şereflikoçhisar", "Sincan", "Yenimahalle"],
"İstanbul": ["Adalar", "Bağcılar", "Bahçelievler", "Bakırköy", "Beşiktaş", "Beykoz", "Beyoğlu", "Büyükçekmece", "Çatalca", "Eminönü", "Esenler", "Eyüp", "Fatih", "Gaziosmanpaşa", "Güngören", "Kadıköy", "Kağıthane", "Kartal", "Küçükçekmece", "Maltepe", "Pendik", "Sarıyer", "Silivri", "Şile", "Şişli", "Sultanbeyli", "Tuzla", "Ümraniye", "Üsküdar", "Zeytinburnu"],
"İzmir": ["Aliağa", "Balçova", "Bayındır", "Bergama", "Beydağ", "Bornova", "Buca", "Çeşme", "Dikili", "Foça", "Güzelbahçe", "Karaburun", "Karşıyaka", "Kemalpaşa", "Kınık", "Kiraz", "Konak", "Menderes", "Menemen", "Narlıdere", "Ödemiş", "Seferihisar", "Selçuk", "Tire", "Torbalı", "Urla"],
"Adana": ["Aladağ", "Ceyhan", "Feke", "Karaisalı", "Kozan", "Pozantı", "Saimbeyli", "Seyhan", "Yumurtalı", "Yüreğir"
@rainb3rry
rainb3rry / class.envato-api-basic.php
Created March 21, 2018 04:19 — forked from dtbaker/class.envato-api-basic.php
Simple PHP class for interacting with the Envato API within a WordPress plugin
<?php
/**
* Exception handling class.
*/
class EnvatoException extends Exception {
}
@rainb3rry
rainb3rry / youtube_id_regex.php
Created March 19, 2018 12:16 — forked from ghalusa/youtube_id_regex.php
Extract the YouTube Video ID from a URL in PHP
<?php
// Here is a sample of the URLs this regex matches: (there can be more content after the given URL that will be ignored)
// http://youtu.be/dQw4w9WgXcQ
// http://www.youtube.com/embed/dQw4w9WgXcQ
// http://www.youtube.com/watch?v=dQw4w9WgXcQ
// http://www.youtube.com/?v=dQw4w9WgXcQ
// http://www.youtube.com/v/dQw4w9WgXcQ
// http://www.youtube.com/e/dQw4w9WgXcQ
// http://www.youtube.com/user/username#p/u/11/dQw4w9WgXcQ