urlget.exe Python/mIRC
Merhaba bu sabah aklıma gelen, mIRC 7.56 sürümüyle mirce gelen $urlget identifier'ından esinlenerek Python üzerinden kodlayıp / pyinstaller yardımıyla exe'ye döktüm.
2-3 özellik ekledim sadece. mIRC ana dizinine .exe dosyasını atmanız yeterlidir.
Kod:
alias urlget {
if $1 == title { python title $2 }
elseif $1 == headers { python headers $2 }
elseif $1 == aralik { python aralik $2 $3 $4 }
else { echo 4 -s Yanlış data girdiniz. }
}
alias python {
var %şşş $+(com,$r(1,999)) | .comopen %şşş wscript.shell
.comclose %şşş $com(%şşş,run,1,bstr,cmd.exe /k urlget.exe $1- $+ |clip & exit,uint,0,bool,1)
tokenize 32 $regsubex($str(- $chr(32),$cb(0)),/(-)/g,\n) | scon -r echo -a $!cb( $* )
}
Sonuçlar:
Kod:
/urlget title https://www.mirc.com
>> mIRC: Internet Relay Chat client
Kod:
/urlget headers https://www.mirc.com
>> {'Date': 'Tue, 17 Nov 2020 06:49:59 GMT', 'Server': 'Apache', 'Last-Modified': 'Mon, 17 Aug 2020 10:32:03 GMT', 'Accept-Ranges': 'bytes', 'Content-Length': '7231', 'Keep-Alive': 'timeout=5, max=100', 'Connection': 'Keep-Alive', 'Content-Type': 'text/html'}
Kod:
/urlget aralik "https://www.mirc.com/" "</strong>" "here"
>> client used by individuals and
organizations to communicate, share, play and work with each other on IRC networks
around the world. Serving the Internet community for over two decades, mIRC has evolved
into a powerful, reliable and fun piece of technology. You can learn about mIRC
[Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...]
|