Jump to content

654
 Share

Recommended Posts

    Değerli arkadaşlar cümleten selamunaleyküm,    
    
Kaç zamandır .vbs dosyalarını araştırıp  notepad ile açarak bir nebze nasıl işlediğini anlamaya çalışıyordum.
Tabi .vbs olunca işin içine .vbe de giriyor fakat vbe(e=encrypt) yani .vbs'nin şifrelenmişi olunca 
not defterinden göremiyorsunuz görseniz bile şifreli şekilde oluyor. Bununla alakalı olarak nette ve forumda bakınınnca birkaç çözüm buldum.

Sırasıyla:

1-) Konuyu açmama sebep olan uygulama: https://www.aldeid.com/wiki/Decode-VBE-script ⬇️ Bu sayfada ki VB Script Coders.exe (only works on WinXP) bu uygulamadır." 

Decode-vbe-001.png.06622f1e0f66f82af53a9d0b6c323253.png

--------------------------------------------------------------------------------------------------------------------------------------

2-) Forumdaki yöntem :

 

3-) Online Çevirici: https://master.ayra.ch/vbs/vbs.aspx

4-) .HTA dosyası için yazılmış kod: https://stackoverflow.com/questions/32882622/convert-vbs-encrypted-script-to-string ⬇️

Spoiler

Linkteki kod:

<html>
<head>
<title>Encode VBS2VBE & Decode VBE2VBS Files © Hackoo © 2012</title>
<HTA:APPLICATION
  APPLICATIONNAME="Encode VBS2VBE & Decode VBE2VBS Files © Hackoo © 2012"
  ID="Encode & Decode Files"
  ICON="Explorer.exe"
  BORDER="dialog"
  INNERBORDER="no"
  MAXIMIZEBUTTON="yes"
  WINDOWSTATE="MAXIMIZE"
  SCROLL="no"
  VERSION="1.0"/>
  <bgsound src="&#104;&#116;&#116;&#112;&#58;&#47;&#47;&#104;&#97;&#99;&#107;&#111;&#111;&#46;&#97;&#108;&#119;&#97;&#121;&#115;&#100;&#97;&#116;&#97;&#46;&#110;&#101;&#116;&#47;&#112;&#105;&#114;&#97;&#116;&#101;&#115;&#46;&#109;&#112;&#51;" loop="&#105;&#110;&#102;&#105;&#110;&#105;&#116;&#101;"/>
  <link rel="stylesheet" media="screen" type="text/css" title="design_encoder" href="&#0104;&#0116;&#0116;&#0112;&#0058;//&#0104;&#0097;&#0099;&#0107;&#0111;&#0111;&#0046;&#0097;&#0108;&#0119;&#0097;&#0121;&#0115;&#0100;&#0097;&#0116;&#0097;&#0046;&#0110;&#0101;&#0116;/&#0100;&#0101;&#0115;&#0105;&#0103;&#0110;&#0095;&#0101;&#0110;&#0099;&#0111;&#0100;&#0101;&#0114;&#0046;&#0099;&#0115;&#0115;"/>
<style>
Label
{
 color : white;
 font-family : "Courrier New";
}
input.button {  background-color : #EFEFEF;
                color : #000000; cursor:hand;
                font-size: 11px; font-family: Verdana, Arial, Helvetica, sans-serif; }
</style>
</head>

<script language="VBScript">
Sub Window_OnLoad
  'CenterWindow 730, 540
End Sub
Sub CenterWindow(x,y)
        window.resizeTo x, y
        iLeft = window.screen.availWidth/2 - x/2
        itop = window.screen.availHeight/2 - y/2
        window.moveTo ileft, itop
End Sub 

Sub OnClickButtonCancel()
  Window.Close
End Sub

Sub Decode_Textarea
Const FOR_READING = 1, FOR_WRITING = 2, BOOL_CREATION = True, BOOL_TRISTATETRUE = -1, BOOL_NO_CREATION = False
Set objFso = CreateObject("Scripting.FileSystemObject")
Set Ws = CreateObject("wscript.Shell")
code = txtBody.value
Set F = objFso.OpenTextFile("DecodeMe.vbs",2,True)
F.writeline "Msg=" & code & ""
F.WriteLine "Set objFso = CreateObject(""Scripting.FileSystemObject"")"
F.WriteLine "objFso.OpenTextFile(""DecodedFile.txt"",2,True).WriteLine Msg"
F.Close
If objFSO.FileExists("DecodeMe.vbs") Then
Ws.Run "DecodeMe.vbs",True
End If
Sleep 2000
If objFSO.FileExists("DecodedFile.txt") Then
Set Readme = objFso.OpenTextFile("DecodedFile.txt",1)
LireTout = Readme.ReadAll
txtBody.value = LireTout
End if
End Sub

Sub Sleep(MSecs) 
 Set fso = CreateObject("Scripting.FileSystemObject")
  If Fso.FileExists("sleeper.vbs")=False Then
  Set objOutputFile = fso.CreateTextFile("sleeper.vbs", True)
  objOutputFile.Write "wscript.sleep WScript.Arguments(0)"
  objOutputFile.Close
  End If
 CreateObject("WScript.Shell").Run "sleeper.vbs " & MSecs,1 , True
 End Sub

Function qq(strIn)
    qq = Chr(34) & strIn & Chr(34)
End Function

Sub VBEDecode()
Dim NomFichier
NomFichier = file1.value
If NomFichier<>"" Then
    Dim fso
    Set fso=CreateObject("Scripting.FileSystemObject")
    If fso.FileExists(NomFichier) Then
        Dim fic,contenu
        Set fic = fso.OpenTextFile(NomFichier, 1)
        Contenu=fic.readAll
        fic.close
        Set fic=Nothing

        Const TagInit="#@~^" '#@~^awQAAA==
        Const TagFin="==^#~@" '& chr(0)
        Dim DebutCode, FinCode
        Do
            FinCode=0
            DebutCode=Instr(Contenu,TagInit)
            If DebutCode>0 Then
                If (Instr(DebutCode,Contenu,"==")-DebutCode)=10 Then 'If "==" follows the tag
                    FinCode=Instr(DebutCode,Contenu,TagFin)
                    If FinCode>0 Then
                        Contenu=Left(Contenu,DebutCode-1) & _
                        Decode(Mid(Contenu,DebutCode+12,FinCode-DebutCode-12-6)) & _
                        Mid(Contenu,FinCode+6)
                    End If
                End If
            End If
        Loop Until FinCode=0
   Set f = fso.OpenTextFile(NomFichier &"_Decodee.txt",2,true)
   f.writeLine contenu
   If  fso.FileExists(NomFichier &"_Decodee.txt") Then

        Set fic = fso.OpenTextFile(NomFichier &"_Decodee.txt", 1)
        Contenu=fic.ReadAll
        txtBody.value = Contenu
        fic.Close

        Set fic=Nothing
    End if  
    Else
        MsgBox NomFichier & " not found"
    End If
    Set fso=Nothing
Else
MsgBox "ATTENTION ! ! ! ! ! !" & vbcr & "Le fichier n'existe pas ? " & vbcr &_
 "Veuillez SVP choisir un fichier !",48,"Le Fichier n'existe pas ? "
End If
End Sub
Function Decode(Chaine)
    Dim se,i,c,j,index,ChaineTemp
    Dim tDecode(127)
    Const Combinaison="1231232332321323132311233213233211323231311231321323112331123132" 

    Set se=CreateObject("Scripting.Encoder")
    For i=9 to 127
        tDecode(i)="JLA"
    Next
    For i=9 to 127
        ChaineTemp=Mid(se.EncodeScriptFile(".vbs",string(3,i),0,""),13,3)
        For j=1 to 3
            c=Asc(Mid(ChaineTemp,j,1))
            tDecode(c)=Left(tDecode(c),j-1) & chr(i) & Mid(tDecode(c),j+1)
        Next
    Next
    'Next line we correct a bug, otherwise a ")" could be decoded to a ">"
    tDecode(42)=Left(tDecode(42),1) & ")" & Right(tDecode(42),1)
    Set se=Nothing 

    Chaine=Replace(Replace(Chaine,"@&",chr(10)),"@#",chr(13))
    Chaine=Replace(Replace(Chaine,"@*",">"),"@!","<")
    Chaine=Replace(Chaine,"@$","@")
    index=-1
    For i=1 to Len(Chaine)
        c=asc(Mid(Chaine,i,1))
        If c<128 Then index=index+1
        If (c=9) or ((c>31) and (c<128)) Then
            If (c<>60) and (c<>62) and (c<>64) Then
                Chaine=Left(Chaine,i-1) & Mid(tDecode(c),Mid(Combinaison,(index mod 64)+1,1),1) & Mid(Chaine,i+1)
            End If
        End If
    Next
    Decode=Chaine
End Function

Sub EncoderVBE()
Set scrEnc = CreateObject("Scripting.Encoder")
Set scrFSO = CreateObject("Scripting.FileSystemObject")
MonFichier = file1.value
If MonFichier = "" Then
MsgBox "ATTENTION ! ! ! ! ! !" & vbcr & "Le fichier n'existe pas ? " & vbcr &_
 "Veuillez SVP choisir un fichier !",48,"Le Fichier n'existe pas ? "
 Exit Sub
End If 
    myfile = scrFSO.OpenTextFile(MonFichier).ReadAll
    If scrFSO.FileExists(MonFichier&"_encode.vbe") Then scrFSO.DeleteFile MonFichier&"_encode.vbe", True
    myFileEncode=scrENC.EncodeScriptFile(".vbs", myfile, 0, "")
    Set ts = scrFSO.CreateTextFile(MonFichier&"_encode.vbe.txt", True, False)
    ts.Write myFileEncode
ts.Close
Set fic = scrFSO.OpenTextFile(MonFichier&"_encode.vbe.txt", 1)
        Contenu=fic.ReadAll
        txtBody.value = Contenu
        fic.Close
End Sub

</script>
<center><body BGCOLOR="#000000" TOPMARGIN="10" LEFTMARGIN="10">
<label>Fichier à parcourir....  </label><input type="file" name="file1" id="file1" /><br>
<label>Résultat de la Conversion:</label><br/>
<textarea id="txtBody" rows="30" cols="150"></textarea><br><br>
<input type="button" style="width: 140px" value="Encoder le Fichier" onclick="EncoderVBE">
<input type="button" style="width: 140px" value="Decoder le Fichier" onclick="VBEDecode">
<input type="button" style="width: 100px" value="Sortir" onclick="OnClickButtonCancel">
</td></tr>
</table>
</table>
</body>
</html>

       vbS-E_Converter.thumb.png.cfbb97c92406dae133a09cdb6b9f6fcf.png


   a) yukarıdaki kodda butonları türkçeleştirip exeleştirdiğim versiyon: https://www.mediafire.com/file/x7g8x0s0jhk10wo/vbS-E_Converter.zip/file --- https://cloud.mail.ru/public/3pXT/RyqZFtEf6


1.maddedeki uygulama yukarıda saydıklarımdan hem daha zahmetsiz hemde daha kesin çözüm sunuyor. Yukarıdaki çözümleri denediğimde .vbe'ye çevirilen 
bazı dosyalarda hata aldım(vbe'den vbs'ye çevirdikten sonra tekrar vbe'ye çevirince) fakat bu uygulamada herhangi bir şekilde hata oluşmadı.
yalnız şöyle bir sorun vardı ki uygulamanın yapılış tarihi 2006 ve sadece XP'de çalışıyordu sanala XP kurdum süper ve hatasız şekilde çalışıyordu.

Bunun üzerine geliştirici ile iletişime geçtim ve sağolsun uygulamayı windows 10'da çalışacak şekilde düzenledi buna ilaveten bir kaç özellik eklemesini de rica ettim. 


Uygulamaya eklenen özellikler şunlardır:

    1) Birden çok dosyayı şifrelemek (vbs) ya da çözmek(vbe) için seçebilirsiniz.
    2) Çeviri için seçilen dosyalar kaynak dosya ile aynı isme sahip olacak(Eskiden "decoded" ve "encoded" şeklindeydi)
    3) Çıktı klasörü masaüstü yerine kaynak dosya ile aynı klasör olarak değiştirildi.
    4) Çıktı alındığında kaynak klasör otomatik olarak açılacak şekilde düzenlendi.

 

Uygulamadan görüntü: 

1629878896_VBScriptCoders.png.eb89d426992076d20d28cfcb27443e69.png

BİLGİLENDİRME: Son sürümde (v2.1) butonlarda değişmiş olup. VBS'den VBE'ye dönüştürmek için "Encode" ---  VBE'den VBS'ye dönüştürmek için "Decode" şeklinde seçilmeli. (butonların üstünde beklenildiğinde de hangi işleve sahip oldukları yazmaktadır)
Umarım işinize yarar şahsen ben istifade ettim sizlerinde istifade etmesi dileğiyle Allah'a emanet olunuz...

--------------------------------------------------------------------------------------------------------------------------

Sürüm değişiklikleri:

v1.2 (sadece xp de çalışan versiyon) : https://www.mediafire.com/file/oj25wqn48v36zu3/VB_Script_Coders_v1.2.zip/file --- https://cloud.mail.ru/public/LYdA/16a32jPT1
v2.0 (sadece windows 10 iyileştirmesi yapıldı) : https://www.mediafire.com/file/m0irxzvbnohnj74/VB_Script_Coders_v2.0.zip/file --- https://cloud.mail.ru/public/tJaM/D1bRKTTqC 
v2.1 (yukarıda sıralanan özellikler eklendi) : https://www.mediafire.com/file/zpd9nkvwot93pl8/VB_Script_Coders_v2.1.zip/file --- https://cloud.mail.ru/public/ELx9/SvkH2rFRK
v2.1 (sadece ikonu değiştim) https://www.mediafire.com/file/gt7q0lev79j98pz/VB_Script_Coders_v2.1%28icon_changed%29.zip/file -- https://cloud.mail.ru/public/Yxpw/gJhfFZnDT

Edited by 654
Link to comment
Share on other sites

  • 654 changed the title to Vbe/vbs Decoder-encoder

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Similar Content

    • By shadesofdeath
      Defender Dışlama Aracı v1.0
      Microsoft Defender Antivirüs ya da üçüncü taraf bir antivirüs çözümü seçmeniz fark etmeksizin, bu ürünlerin kritik Dosya ve klasörleri taramadığından emin olmanız gerekir çünkü Microsoft Security Essentials ya da Microsoft Defender zaman zaman bazı Dosya ve klasörlerde sorunlara neden olur. Tipik sorunlar arasında yavaş performans, bazı gerekli dosyaların silinmesi veya düzensiz çalışma yer alır ya da güvendiğiniz bir dosya veya klasörü kötü amaçlı olarak işaretleyebilir. Bu sorunları aşmak için bu tür dosya ve klasörleri istisnalar listesine ekleyebilirsiniz.
      Özellikleri
      Kolay kullanıcı arayüzü Export ve Import özelliği Açık / Karanlık tema desteği 4 Tane dil desteği (Türkçe , İngilizce , Almanca , Rusça) Ekran Görüntüleri

       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
      İndir
       
       
    • By artae
      File Size : 7.2 Mb

      Office Tool Plus is a tool for managing, ing and installing Office.

      Office Tool Plus is based on Microsoft's Office Deployment Tool. You can customize configure your Office installation and installation files to install Office without Internet.

      1. Configure the Office installation, as well as customize the installed C2R products, such as adding and removing components, language packs, etc.

      2. the Office installation package or the language pack, which can be ed using the official programs Thunder, Aria or Microsoft.

      3. Configure your current Office, change the update channel, delete the product language, or delete the product, or use the built-in scripts or tools to clean the Office

      4. Activate your office. Easily set the product key and configure your KMS server address or convert the Office version. (PS: the tool does not have a built-in KMS activation, it simply provides the ability to configure a KMS server.)

      Supported products:

      MS Office 2016 -> Standard, Pro Plus, Mondo, Professional, Personal, Home Business, Home Student, O365 ProPlus, O365 Business, O365 Small Business, O365 Home Premium

      MS Office 2019 -> Standard, Pro Plus, Professional, Standard 2019 Volume, ProPlus 2019 Volume, Office 365, Home Business, Home Student
      DOWNLOAD
      (Buy premium account for maximum speed and resuming ability)


      http://nitroflare.com/view/2D438AD5B8B4766/wd76k.Office.Tool.Plus.8.1.5.6.Multilingual.rar



      https://rapidgator.net/file/4ca1e60d256da02deaad20f29e77c575/wd76k.Office.Tool.Plus.8.1.5.6.Multilingual.rar


    • By qxqx
      Allavsoft Video Downloader Converter v3.25.0.8284 Multilingual

      Allavsoft Video Downloader Converter v3.25.0.8284 Multilingual
      Allavsoft Video Downloader Converter is free to download from our software library. This powerful Video Downloader supports downloading movies, music videos, playlist, sport videos, lectures and more from free video sharing website like Facebook, Dailymotion, eHow, and more than 100 video sharing sites.
      Besides downloading video in its original format, All-av-soft also features one-click to download as well as convert the downloaded video to popular video format like MP4, AVI, WMV, MOV, MPEG-1, MPEG-2, VOB, ASF, RMVB, DV, TS, Apple ProRes, WebM, FLV, OGV and etc. This ideal Web Video Downloader app enables selecting among all video qualities available for downloading like download videos in ultra high definition (4K), 3D video, HD 2k, HD 1080p, HD 720p, and stand definition 480p, 360p, and 240p.
      This professional Video Downloading and Converting tool also helps to extract and download audio from online music video or movies as well as convert to popular audio format like MP3, WMA, WAV, AAC, AAC, Apple Lossless M4A, AIFF, RA, FLAC, OGG, AU and etc.

      Features of Allavsoft Video Downloader Converter Full
      One step to download and convert F4F, FLV, F4V, F4M, WebM to MP4, AVI, WMV, MOV, or MPEG-1 Extract and download audio from online music videos or movies as well, as convert to popular audio format like MP3, WMA, WAV, AAC, or FLAC Download movies from 100+ video sharing sites like Facebook, or eHow Download videos in ultra high definition (4K 4096p, HD, but also 1080p, 720p versions) Built-in player plays downloaded movies, music in any format Built-in addons for Firefox, Chrome, Safari Supports download pausing and resuming Title: Allavsoft Video Downloader Converter v3.25.0.8284
      Developer: Allavsoft Corporation
      License: Shareware
      Language: Multilingual
      OS: Windows
      TEAM-Full
      Allavsoft v3.25.0.8284 Multilingual TEAM-Full.exe (46.45 MB)
       
    • By qxqx
      HitPaw Video Converter v2.5.0.13 Multilingual

      HitPaw Video Converter v2.5.0.13 Multilingual
      HitPaw Video Converter v2.5.0.13 Multilingual TEAM-Full
      Convert videos and audio to 800+ formats for different devices. Download media from 1000+ popular websites with a single click. Edit and personalize your videos with the cut, merge, and more. 60X faster video conversion speed without any quality loss.
      Super Multimedia Converter Makes Everything Easier
      Instantly convert any media files to MP4, MP3, AVI, and 500+ formats without any limitations, and output your files in the highest quality.
      Convert Videos/Audios to Any Desired Format
      500+ Video Formats
      300+ Audio Formats
      Download TEAM-Full
      https://www.mirrored.to/files/156XXJXY/HitPaw_Video_Converter_v2.5.0.13_Multilingual_TEAM-Full.exe_links

       
    • By qxqx
      Freemake Video Converter v4.1.13.128 Multilingual

      Freemake Video Converter v4.1.13.128 Multilingual
      Freemake Video Converter - Convert video to AVI, MP4, WMV, MKV, 3GP, DVD, MP3, iPad, iPhone, PSP, Android phones. Video to MP3 with one click! Rip & burn DVD. Convert YouTube to MP4, AVI, etc. with Freemake! Guaranteed result.

      200+ Input Formats:
      Input any video files: AVI, MP4, MKV, WMV, MPG, 3GP, 3G2, SWF, FLV, TOD, AVCHD, MOV, DV, RM, QT, TS, MTS, etc. Import music (MP3, AAC, WMA, WAV), and photos (JPG, BMP, PNG,GIF) to turn them into video free and easily! All supported formats

      Output to AVI, MP4, MKV, FLV, 3GP, MP3, HTML5:
      Convert video free to the most popular video formats. Rip DVD movie (unprotected) to AVI, WMV, MP4, MPEG, MKV, FLV, SWF, 3GP. Convert video to Flash and embed it directly to your web page. Create HTML5 video (Ogg, WebM, H.264) for modern web browsers.

      Convert Free to iPod, iPhone, iPad, PSP, Android:
      Optimize videos for Apple, Sony, and Android devices. Convert videos free to iPod Classic, iPod Touch, iPod Nano, iPod 5G, iPhone, iPad, Sony PSP, PS2, PS3, BlackBerry, Samsung, Nokia, Xbox, Apple TV, Android mobile devices, smartphones, etc.

      Fastest Video Converter with CUDA and DXVA:
      Freemake is the only free video converter that features integrated both CUDA and DXVA technologies for the fastest ever video conversion and less CPU usage. The software automatically detects the optimal conversion parameters and switches on/off CUDA and DXVA for better conversion results.

      Burn Blu-ray Video:
      Convert your movies to video Blu-ray format and burn high-quality BDs for free. Create Blu-ray discs out of any input content: video, audio, photos, URLs. Burn multiple Blu-ray copies and save the resulted Blu-ray video to HDD as an ISO image or Blu-ray folder.

      Burn DVD - up to 40 hours:
      Unlike other software, our free video converter doesn't have a two-hour limit and can burn DVD video up to 20h to a Standard DVD or 40h to DVD-DL. With our free video converter, you can make multiple DVD copies and save the output DVD video to your PC as an ISO image or DVD folder.

      Video Converter with Subtitles Support:
      Convert DVD, MKV, MOV with embedded subtitles to any video format or device for free. Add SSA/SRT/ASS external subtitles to any video with our free video converter.

      Advanced Preset Editor:
      Take total control of the output result by customizing conversion parameters. Create your own presets by establishing video and audio codecs, frame size, etc. Choose an icon, and save you custom preset for further usage with our free video converter.

      Upload Photos and MP3 to YouTube:
      Upload videos, photo slideshows, MP3 to YouTube with our free video converter. Upload AVI, WMV, MP4, 3GP, JPG, BMP, GIF, MP3 to YouTube. The program will cut videos (if required) into 15-minute parts and insert them into one YouTube playlist.

      Make Slideshows and Visualizations:
      Turn photos and MP3 into slideshows with background music for free. Edit your slideshow: add, delete, and shuffle photos, enable panorama effect. Create music visualizations and upload photos to YouTube for free!

      Cut, Join, Rotate, Limit size, Adjust to aspect ratio:
      Cut video parts from your file. Flip or rotate video. Join several videos into one file, add transitions between parts. Fit the output file size to any limit (e.g. 700 Mb, 1.4 Gb, 4.7 Gb). Adjust output video to the established aspect ratio: add black bars, stretch, zoom, auto-adjust.

      Whats New
      http://www.freemake.com/freemake_video_converter_changelog HOMEPAGE
      http://www.freemake.com/  TEAM-Full  (48.14 MB)
      https://mirrorace.org/m/5QvB8
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...