Título: [Aporte] Bot de Telegram en Quickjs. (Construye el tuyo) Publicado por: @XSStringManolo en 13 Enero 2021, 06:03 am Me apetecía programar una IA en javascript y necesitaba alguna forma de pasarle input, asique decidí hacer un bot de telegram.
Como ya van varios bots que hago, alguno salió algo buggeado y posiblemente en el futuro haga otros parecidos, decidí hacer un bot/nucleo a partir del cual pueda escribir cualquier bot. Asique este bot tiene lo básico y mínimo indispensable que se puede necesitar para un bot. Le metí varios argumentos cli básicos para configurar el bot, meterle el token y ver su uso. También le metí que responda al telegram a unos pocos comandos de ejemplo. De momento no encontré ningún bug. Si encuentro alguno o meto algún cambio interesante o importante, lo añadiré aquí. Código
Título: Re: [Aporte] Bot de Telegram en Quickjs. (Construye el tuyo) Publicado por: el-brujo en 13 Enero 2021, 20:03 pm ¿Qué funcionalidades tiene el bot? A parte de saludar xD
¿Qué ideas tienes? Estaría bien crear un RSS Feed de noticias, por ejemplo o servicios de red Algunos bots interesantes son: Citar @CheckHostBot Check host availability with http and ping checks. Citar @UtilityTools_Bot List of commands: ➥ /settings - view the bot settings ➥ /setlanguage - allows you to change the language of the bot ➥ /skyperesolver (username) - you will get the last known IP of the user on Skype ➥ /skype2ip (ip) - search for a matching IP's in the Skype database. ➥ /cloudflare - /cloudflareresolver (domain) - does a brute force on the most common subdomains in order to search for the real IP ➥ /dnslookup - /dnsresolver (domain) - get the DNS records from a domain ➥ /shortlink (bit.ly/target) - find the contents of the link ➥ /zonetransfer (target) - tool zonetransfer ➥ /reverseip (target) - see the domain from IP ➥ /subnetcal (192.168.1.1/24) - determine the properties of a network subnet ➥ /httpheader (target) - see the http header, reveal system and web application details ➥ /subdomain (target) - looking for web subdomains ➥ /whois (target) - determine the registered owner of a domain or IP address block with the whois tool. ➥ /reversedns (domain) - find Reverse DNS records for an IP address or a range of IP addresses. ➥ /testping (domain) - allows you to test connectivity to a host ➥ /traceroute (target) - allows you to trace the path of an Internet connection ➥ /nmap (target) - tool nmap ➥ /geoip (ip) - tool to find the ip location ➥ /ddos - send many request packets ➥ /layer4 - for layer4 and layer3 ➥ /layer7 - for layer7 ➥ /randpw (lenght) - generate password ➥ /scancms (target) - to scan the cms website ➥ /ipinfo (ip) - see the information of an ip ➥ /id - see your telegram ID ➥ /chatid - allows you to see the telegram id of the chat in which the command was typed ➥ /time - see the time from the bot ➥ /echo - dark secret ➥ /creator - see the creator of the bot ➥ insult (victim) - insults the victim (also via Reply) ➥ /createproxy - generate a proxy ➥ /sms (prefix)(number) text - free sms | BETA ➥ /shitstorm - shitstorm a group ➥ /fakeidentity - generate an fakeidentity ➥ /instagram - tool to find info of an ig user ➥ /coder - information about coder Total commands ➵ 35 Hace poco estuve mirando bots de telegram y los hay muy variados temas: Los mejores bots de Telegram https://blog.elhacker.net/2020/10/los-mejores-bots-de-telegram-ayuda-descargar-recomendados.html Título: Re: [Aporte] Bot de Telegram en Quickjs. (Construye el tuyo) Publicado por: Xyzed en 13 Enero 2021, 20:51 pm Interesante, no estoy familiarizado con Telegram (aunque tendré que hacerlo, está evolucionando más rápido que nunca). Felicidades por los primeros avances y gracias por el aporte, quizás lo utilice como guía en estos días ;-) Título: Re: [Aporte] Bot de Telegram en Quickjs. (Construye el tuyo) Publicado por: @XSStringManolo en 13 Enero 2021, 22:08 pm ¿Qué funcionalidades tiene el bot? A parte de saludar xD ¿Qué ideas tienes? Estaría bien crear un RSS Feed de noticias, por ejemplo o servicios de red Algunos bots interesantes son: Hace poco estuve mirando bots de telegram y los hay muy variados temas: Los mejores bots de Telegram https://blog.elhacker.net/2020/10/los-mejores-bots-de-telegram-ayuda-descargar-recomendados.html El bot por sí no hace nada, solo saluda y acepta argumentos por la terminal o la cmd (no lo probé en windows pero debería ir) Es más que nada para que la gente lo use como base para escribir su bot sin tener que programarlo todo de 0. Como si fuese una librería por decirlo de alguna forma. Tengo algún bot creado tipo troyano para loggearte y controlar el dispositivo en el que corre el bot. Al ser en quickjs puede usar el motor directamente para controlar el dispositivo con código javascript o con comandos. Hay un montón de cosas que se pueden hacer. Estaba pensando en una IA que hable, pero es complicada de programar. También un rpg pero también algo complicado. A ver si a la larga van saliendo cosas. El feed de noticias mola, pero debe ser mucho rollo de parsear. Tengo que mirarlo! |