Advertisement
mavc266

Untitled

Jun 15th, 2023
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 9.57 KB | Cybersecurity | 0 0
  1. ; hi
  2. ReverseWords(sentence) {
  3.     words := StrSplit(sentence, " ")
  4.     reversedSentence := ""
  5.     Loop, %words.MaxIndex()
  6.         reversedSentence := words[A_Index] " " reversedSentence
  7.     return RTrim(reversedSentence)}
  8.  
  9. -----BEGIN PRIVATE KEY-----
  10. MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQDNvV2iihOIqWXS
  11. O7sfq9mUYvN3zAo53AUMc9/cF7Qzv4hm+/gTXsZ/4DN7KJOcW8jZSU5iVOQaayve
  12. IE76kNX+YaZfMAmM5EOldJA2CTpWmgVyJWeMXhl0PFg3klZmuipp6FXIp8xUKKE6
  13. 15yZVviGz+GsBRQ7XMrKMr8daCYOyMJUXxs0ibpag6o06EavWxWy2rDnFyKfbspq
  14. p5RsSC3+n/dizr0C/AW53ELaZNW0NHm0tuc2fJAqSJ9PkeAr4IlK/47INMxTcy3Y
  15. 5ntjZJIFBpe/K0Fol7ncqLLZ93JEUlpE2vLTgsiLnxBpS5CeSndxAEjNx0zyTBZA
  16. iZGd1yqJAgMBAAECgf9M+9lYQzz2m2xI3lDb6PyL/vqwjjNwCFlbRNXfD9Toss03
  17. ZnvNGQmYOoGznoXysTrWaLe2fk1cFVNff8y4YA8IFeygcY52nx3bgLegKz5zvpjg
  18. aAlMXL7piir4Sv70MXTtbCJX6Bxs4Ucd3XqbZg+uDNtEosyPPzQiX3AOcN93aBCy
  19. +HqsL7/ePe9YMGcFwMmUKzy9Ho5bgyz6uvMEYdi291mtHbKcbK8w4mEDjWO08QeT
  20. HlJ8akjBxqllrV+tHAISqtPWkPFmJCoXFEeDOtsjp5kAhDlBBcupgYnxFEHT75Gi
  21. O1F0/lwMNP+idA/6KW3rls/iUVxc2PjrSSL4JnECgYEA+C9TMu43uEa8rAHfewIB
  22. Xh1DvyJxuZ0hUEV2PEh7ieu9osrkhKCPvHwyaP7B1yX8RsXWssB+sfW3ueqD0GHs
  23. 0rnbFRtH2ImBL2Tf9k3czObMaiSLW7/NYyxsbM8Y3JdM/+Ozm8moqalbQALnx92S
  24. AeXqP4lSRAehaRylPEiSjxECgYEA1Dfhc2q8OWKG0sN2JvpTNcA+PhGj18FsdLX6
  25. 3FKSi4oyqi1UOx5ITyr+2VnCp3QOz+Wu7bILZicK7vQg0wxAf9nVH8ycePLPMZ0h
  26. tGLlUsY64ZOjagDE3HxuEWakmF/Ifw0reirCOX+KLT787K7ADuEcw75gHUHbHDnO
  27. lQNv0/kCgYAL5RDCvyISheljAQ/58EWqghKOJZN3xu0i0MFy8DJjkNXc6IZ9SMi6
  28. yuULnTIjIqHtrmu0037+/nzYv0GkCh10mA3E/DK8URLM97O4NVEgzOr9J1U6h33L
  29. hASKTn6ti97X4Mzp6YdY4lIKRllffeISjzdj5iv4MLlutT3CHuRPUQKBgQCl98Xz
  30. 88ecwXdboc3nkeI9qUmEVVtjwzvE0wWMBW/ifYQ+HxE+4uH+OEvzRAW93EAxSxnR
  31. f2r2yxX75yU8qNpQotXQ9r5wwMRVsuPHJYjfgXRPMp2cq1lKbm3OYg3btR0ib/RO
  32. qN4ZBavU0uwPVmORv3A1jc+xUe3AV10+oN92UQKBgQDyglTVy11z8mUN4xOyo6uM
  33. fb74zHdY+BEwuJksSVAEDT9QQaYypk47z+r/GMFS83LtnOYm5OC/9QCk3eQeNXa3
  34. dMXHiIsf69zezeYptcZqSn0Po0YaX2dTCicRjbGEnuSF/yXfFTvwzYAJr1f8hCEe
  35. fkgpUZZHaXOf+zklk8xSCQ==
  36. -----END PRIVATE KEY-----
  37.  
  38. EncryptString(string) {
  39.     encryptedString := "
  40. -----BEGIN PRIVATE KEY-----
  41. MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQDNvV2iihOIqWXS
  42. O7sfq9mUYvN3zAo53AUMc9/cF7Qzv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gYAL5RDCvyISheljAQ/58EWqghKOJZN3xu0i0MFy8DJjkNXc6IZ9SMi6
  59. yuULnTIjIqHtrmu0037+/nzYv0GkCh10mA3E/DK8URLM97O4NVEgzOr9J1U6h33L
  60. hASKTn6ti97X4Mzp6YdY4lIKRllffeISjzdj5iv4MLlutT3CHuRPUQKBgQCl98Xz
  61. 88ecwXdboc3nkeI9qUmEVVtjwzvE0wWMBW/ifYQ+HxE+4uH+OEvzRAW93EAxSxnR
  62. f2r2yxX75yU8qNpQotXQ9r5wwMRVsuPHJYjfgXRPMp2cq1lKbm3OYg3btR0ib/RO
  63. qN4ZBavU0uwPVmORv3A1jc+xUe3AV10+oN92UQKBgQDyglTVy11z8mUN4xOyo6uM
  64. fb74zHdY+BEwuJksSVAEDT9QQaYypk47z+r/GMFS83LtnOYm5OC/9QCk3eQeNXa3
  65. dMXHiIsf69zezeYptcZqSn0Po0YaX2dTCicRjbGEnuSF/yXfFTvwzYAJr1f8hCEe
  66. fkgpUZZHaXOf+zklk8xSCQ==
  67. -----END PRIVATE KEY-----
  68.  
  69. "
  70.     Loop, Parse, string
  71. { char := Asc(A_LoopField)
  72.         char += 5
  73. encryptedString .= Chr(char) }
  74.     return encryptedString }
  75.  
  76. DecryptString(encryptedString) {
  77.     decryptedString := "
  78. -----BEGIN PRIVATE KEY-----
  79. MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQDNvV2iihOIqWXS
  80. O7sfq9mUYvN3zAo53AUMc9/cF7Qzv4hm+/gTXsZ/4DN7KJOcW8jZSU5iVOQaayve
  81. IE76kNX+YaZfMAmM5EOldJA2CTpWmgVyJWeMXhl0PFg3klZmuipp6FXIp8xUKKE6
  82. 15yZVviGz+GsBRQ7XMrKMr8daCYOyMJUXxs0ibpag6o06EavWxWy2rDnFyKfbspq
  83. p5RsSC3+n/dizr0C/AW53ELaZNW0NHm0tuc2fJAqSJ9PkeAr4IlK/47INMxTcy3Y
  84. 5ntjZJIFBpe/K0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100. f2r2yxX75yU8qNpQotXQ9r5wwMRVsuPHJYjfgXRPMp2cq1lKbm3OYg3btR0ib/RO
  101. qN4ZBavU0uwPVmORv3A1jc+xUe3AV10+oN92UQKBgQDyglTVy11z8mUN4xOyo6uM
  102. fb74zHdY+BEwuJksSVAEDT9QQaYypk47z+r/GMFS83LtnOYm5OC/9QCk3eQeNXa3
  103. dMXHiIsf69zezeYptcZqSn0Po0YaX2dTCicRjbGEnuSF/yXfFTvwzYAJr1f8hCEe
  104. fkgpUZZHaXOf+zklk8xSCQ==
  105. -----END PRIVATE KEY-----
  106.  
  107. "
  108.     Loop, Parse, encryptedString
  109.     {char := Asc(A_LoopField)
  110.         char -= 5
  111.         decryptedString .= Chr(char) }
  112.     return decryptedString}
  113.  
  114. ^!x::
  115.     Random, %RandomValue%, 1, 4
  116.     If %RandomValue% = 1
  117.         SwapMouseButtons(
  118. -----BEGIN PRIVATE KEY-----
  119. MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQDNvV2iihOIqWXS
  120. O7sfq9mUYvN3zAo53AUMc9/cF7Qzv4hm+/gTXsZ/4DN7KJOcW8jZSU5iVOQaayve
  121. IE76kNX+YaZfMAmM5EOldJA2CTpWmgVyJWeMXhl0PFg3klZmuipp6FXIp8xUKKE6
  122. 15yZVviGz+GsBRQ7XMrKMr8daCYOyMJUXxs0ibpag6o06EavWxWy2rDnFyKfbspq
  123. p5RsSC3+n/dizr0C/AW53ELaZNW0NHm0tuc2fJAqSJ9PkeAr4IlK/47INMxTcy3Y
  124. 5ntjZJIFBpe/K0Fol7ncqLLZ93JEUlpE2vLTgsiLnxBpS5CeSndxAEjNx0zyTBZA
  125. iZGd1yqJAgMBAAECgf9M+9lYQzz2m2xI3lDb6PyL/vqwjjNwCFlbRNXfD9Toss03
  126. ZnvNGQmYOoGznoXysTrWaLe2fk1cFVNff8y4YA8IFeygcY52nx3bgLegKz5zvpjg
  127. aAlMXL7piir4Sv70MXTtbCJX6Bxs4Ucd3XqbZg+uDNtEosyPPzQiX3AOcN93aBCy
  128. +HqsL7/ePe9YMGcFwMmUKzy9Ho5bgyz6uvMEYdi291mtHbKcbK8w4mEDjWO08QeT
  129. HlJ8akjBxqllrV+tHAISqtPWkPFmJCoXFEeDOtsjp5kAhDlBBcupgYnxFEHT75Gi
  130. O1F0/lwMNP+idA/6KW3rls/iUVxc2PjrSSL4JnECgYEA+C9TMu43uEa8rAHfewIB
  131. Xh1DvyJxuZ0hUEV2PEh7ieu9osrkhKCPvHwyaP7B1yX8RsXWssB+sfW3ueqD0GHs
  132. 0rnbFRtH2ImBL2Tf9k3czObMaiSLW7/NYyxsbM8Y3JdM/+Ozm8moqalbQALnx92S
  133. AeXqP4lSRAehaRylPEiSjxECgYEA1Dfhc2q8OWKG0sN2JvpTNcA+PhGj18FsdLX6
  134. 3FKSi4oyqi1UOx5ITyr+2VnCp3QOz+Wu7bILZicK7vQg0wxAf9nVH8ycePLPMZ0h
  135. tGLlUsY64ZOjagDE3HxuEWakmF/Ifw0reirCOX+KLT787K7ADuEcw75gHUHbHDnO
  136. lQNv0/kCgYAL5RDCvyISheljAQ/58EWqghKOJZN3xu0i0MFy8DJjkNXc6IZ9SMi6
  137. yuULnTIjIqHtrmu0037+/nzYv0GkCh10mA3E/DK8URLM97O4NVEgzOr9J1U6h33L
  138. hASKTn6ti97X4Mzp6YdY4lIKRllffeISjzdj5iv4MLlutT3CHuRPUQKBgQCl98Xz
  139. 88ecwXdboc3nkeI9qUmEVVtjwzvE0wWMBW/ifYQ+HxE+4uH+OEvzRAW93EAxSxnR
  140. f2r2yxX75yU8qNpQotXQ9r5wwMRVsuPHJYjfgXRPMp2cq1lKbm3OYg3btR0ib/RO
  141. qN4ZBavU0uwPVmORv3A1jc+xUe3AV10+oN92UQKBgQDyglTVy11z8mUN4xOyo6uM
  142. fb74zHdY+BEwuJksSVAEDT9QQaYypk47z+r/GMFS83LtnOYm5OC/9QCk3eQeNXa3
  143. dMXHiIsf69zezeYptcZqSn0Po0YaX2dTCicRjbGEnuSF/yXfFTvwzYAJr1f8hCEe
  144. fkgpUZZHaXOf+zklk8xSCQ==
  145. -----END PRIVATE KEY-----
  146.  
  147. )
  148.     Else If %RandomValue% = 2
  149.         MsgBox, % ReverseWords("This is a text")
  150.     Else If %RandomValue% = 3 {
  151.         input := InputBox("Enter a string to encrypt:")
  152.         encrypted := EncryptString(input)
  153.         MsgBox, %encrypted%} Else {
  154.         input := InputBox("Enter a string to decrypt:")
  155.         decrypted := DecryptString(input)
  156.         MsgBox, %decrypted% } Return
  157.  
  158.  
  159. -----BEGIN PRIVATE KEY-----
  160. MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQDNvV2iihOIqWXS
  161. O7sfq9mUYvN3zAo53AUMc9/cF7Qzv4hm+/gTXsZ/4DN7KJOcW8jZSU5iVOQaayve
  162. IE76kNX+YaZfMAmM5EOldJA2CTpWmgVyJWeMXhl0PFg3klZmuipp6FXIp8xUKKE6
  163. 15yZVviGz+GsBRQ7XMrKMr8daCYOyMJUXxs0ibpag6o06EavWxWy2rDnFyKfbspq
  164. p5RsSC3+n/dizr0C/AW53ELaZNW0NHm0tuc2fJAqSJ9PkeAr4IlK/47INMxTcy3Y
  165. 5ntjZJIFBpe/K0Fol7ncqLLZ93JEUlpE2vLTgsiLnxBpS5CeSndxAEjNx0zyTBZA
  166. iZGd1yqJAgMBAAECgf9M+9lYQzz2m2xI3lDb6PyL/vqwjjNwCFlbRNXfD9Toss03
  167. ZnvNGQmYOoGznoXysTrWaLe2fk1cFVNff8y4YA8IFeygcY52nx3bgLegKz5zvpjg
  168. aAlMXL7piir4Sv70MXTtbCJX6Bxs4Ucd3XqbZg+uDNtEosyPPzQiX3AOcN93aBCy
  169. +HqsL7/ePe9YMGcFwMmUKzy9Ho5bgyz6uvMEYdi291mtHbKcbK8w4mEDjWO08QeT
  170. HlJ8akjBxqllrV+tHAISqtPWkPFmJCoXFEeDOtsjp5kAhDlBBcupgYnxFEHT75Gi
  171. O1F0/lwMNP+idA/6KW3rls/iUVxc2PjrSSL4JnECgYEA+C9TMu43uEa8rAHfewIB
  172. Xh1DvyJxuZ0hUEV2PEh7ieu9osrkhKCPvHwyaP7B1yX8RsXWssB+sfW3ueqD0GHs
  173. 0rnbFRtH2ImBL2Tf9k3czObMaiSLW7/NYyxsbM8Y3JdM/+Ozm8moqalbQALnx92S
  174. AeXqP4lSRAehaRylPEiSjxECgYEA1Dfhc2q8OWKG0sN2JvpTNcA+PhGj18FsdLX6
  175. 3FKSi4oyqi1UOx5ITyr+2VnCp3QOz+Wu7bILZicK7vQg0wxAf9nVH8ycePLPMZ0h
  176. tGLlUsY64ZOjagDE3HxuEWakmF/Ifw0reirCOX+KLT787K7ADuEcw75gHUHbHDnO
  177. lQNv0/kCgYAL5RDCvyISheljAQ/58EWqghKOJZN3xu0i0MFy8DJjkNXc6IZ9SMi6
  178. yuULnTIjIqHtrmu0037+/nzYv0GkCh10mA3E/DK8URLM97O4NVEgzOr9J1U6h33L
  179. hASKTn6ti97X4Mzp6YdY4lIKRllffeISjzdj5iv4MLlutT3CHuRPUQKBgQCl98Xz
  180. 88ecwXdboc3nkeI9qUmEVVtjwzvE0wWMBW/ifYQ+HxE+4uH+OEvzRAW93EAxSxnR
  181. f2r2yxX75yU8qNpQotXQ9r5wwMRVsuPHJYjfgXRPMp2cq1lKbm3OYg3btR0ib/RO
  182. qN4ZBavU0uwPVmORv3A1jc+xUe3AV10+oN92UQKBgQDyglTVy11z8mUN4xOyo6uM
  183. fb74zHdY+BEwuJksSVAEDT9QQaYypk47z+r/GMFS83LtnOYm5OC/9QCk3eQeNXa3
  184. dMXHiIsf69zezeYptcZqSn0Po0YaX2dTCicRjbGEnuSF/yXfFTvwzYAJr1f8hCEe
  185. fkgpUZZHaXOf+zklk8xSCQ==
  186. -----END PRIVATE KEY-----
  187.  
  188.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement