Advertisement
D0cEvil

VBScript - Decoder for keylogger

Jan 4th, 2023
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VBScript 0.43 KB | Cybersecurity | 0 0
  1. Sub KeyboardTranslit()
  2.   Const Lat = "qwertyuiop[]asdfghjkl;'zxcvbnm,./"
  3.   Const Rus = "йцукенгшщзхъфывапролджэячсмитьбю."
  4.   Dim i As Integer
  5.   For i = 1 To Len(Lat)
  6.     With Selection.Find
  7.       .ClearFormatting
  8.       .Replacement.ClearFormatting
  9.       .Text = Mid(Lat, i, 1)
  10.       .Replacement.Text = Mid(Rus, i, 1)
  11.       .Execute Replace:=wdReplaceAll
  12.     End With
  13.     DoEvents
  14.   Next
  15. End Sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement