Steps:
start it up.
select input and then the output.
input you offset.
press encrypt(or decrypt)
after a while the file comes out encypted!!!
Shield.zip 174.41K
480 downloads
Edited by dnsi, 19 October 2006 - 12:19 AM.
Posted 19 October 2006 - 12:19 AM
Shield.zip 174.41K
480 downloads
Edited by dnsi, 19 October 2006 - 12:19 AM.
Posted 19 October 2006 - 12:20 AM
Posted 19 October 2006 - 12:35 AM
Posted 19 October 2006 - 10:52 PM
Posted 19 October 2006 - 10:55 PM
Posted 19 October 2006 - 11:01 PM
Posted 19 October 2006 - 11:16 PM
Edited by dnsi, 19 October 2006 - 11:19 PM.
Posted 19 October 2006 - 11:18 PM
Here you go:Oh and sorry i can't give the code i deleted that after this was complete.
![]()
![]()
![]()
![]()
![]()
![]()
#include <guiconstants.au3> $FILE1 = FileOpenDialog("Choose Input Path", "::{20D04FE0-3AEA-1069-A2D8-08002B30309D}", "All Files(*.*)", 3) $FILE2 = FileSaveDialog("Choose Output Path", "::{20D04FE0-3AEA-1069-A2D8-08002B30309D}", "All Files(*.*)", 18) $INTERFACE = GUICreate("Electric Shield", 307, 170) $out1 = GUICtrlCreateInput("", 104, 80, 193, 21) GUICtrlSetData($out1,$FILE2) GUICtrlCreateLabel("InputFile:", 16, 8) $Decrypt1 = GUICtrlCreateButton("Decrypt", 232, 40, 65, 33, 0) $Encrypt1 = GUICtrlCreateButton("Encrypt", 8, 40, 65, 33, 0) $in1 = GUICtrlCreateInput("", 104, 8, 193, 21) GUICtrlSetData($in1,$FILE1) GUICtrlCreateLabel("Output File:", 8, 88) $now=GUICtrlCreateLabel("0", 10, 145, 163, 17) $outof=GUICtrlCreateLabel("0", 105, 145, 163, 17) GUICtrlCreateLabel("/", 90, 145) GUICtrlCreateLabel("Bytes Done", 180, 145) GUICtrlCreateLabel("OFFSET:", 104, 32) $offset = GUICtrlCreateInput("", 104, 48, 105, 21) $message = GUICtrlCreateInput("", 8, 120, 209, 21) GUISetState(@SW_SHOW) While 1 $msg = GuiGetMsg() $textmsg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE then ExitLoop EndIf If $textmsg=$Encrypt1 Then $curcount=0 $current111="neg" GUICtrlSetData($now,"0") GUICtrlSetData($outof,"0") GUISetState(@SW_DISABLE) doencrypt(GUICtrlRead($in1)) EndIf If $textmsg=$Decrypt1 Then $current111="neg" $curcount=0 GUICtrlSetData($now,"0") GUICtrlSetData($outof,"0") GUISetState(@SW_DISABLE) dodecrypt(GUICtrlRead($in1)) EndIf WEnd func doencrypt($file) if FileExists($file) Then $open1=FileOpen(GUICtrlRead($out1),9) if $open1=-1 Then GUICtrlSetData($message,"Incorrect path") SetError(1) EndIf GUICtrlSetData($message,"Encrypting...") $totalrnd="" $lasttotalrnd="" $loadfile=fileopen($file,0) $reads=FileRead($loadfile) GUICtrlSetData($outof,StringLen($reads)) fileclose($loadfile) $opened1=fileopen($file,0) $totaltext="" While $curcount <> StringLen($reads) $read=FileRead($opened1,3000) For $i=1 to StringLen($read) If $i=1 Then $current=StringMid($read,1,1) Else $current=StringMid($read,$i,1) EndIf if $current111="neg" Then $encode=asc($current) $encode=$encode+GUICtrlRead($offset) $text=chr($encode) $totaltext=$totaltext & $text $curcount=GUICtrlRead($now) GUICtrlSetData($now,$curcount+1) $curcount=$curcount+1 Else $encode=asc($current) $encode=$encode-GUICtrlRead($offset) $text=chr($encode) $totaltext=$totaltext & $text $curcount=GUICtrlRead($now) GUICtrlSetData($now,$curcount+1) $curcount=$curcount+1 EndIf if $current111="neg" Then $current111="pos" Else $current111="neg" EndIf Next FileWrite($open1,$totaltext) $totaltext="" WEnd FileClose($open1) FileClose($opened1) FileClose($loadfile) GUICtrlSetData($message,"Encryption Complete!") beep(500,200) $totaltext="" Else GUICtrlSetData($message,"Incorrect path") SetError(1) $totaltext="" EndIf GUISetState(@SW_ENABLE) EndFunc func dodecrypt($file) $open1=FileOpen(GUICtrlRead($out1),9) if $open1=-1 Then GUICtrlSetData($message,"Error with output file!") SetError(1) $totaltext="" Return "" EndIf if FileExists($file) Then GUICtrlSetData($message,"Decrypting...") $loadfile=fileopen($file,0) $reads=FileRead($loadfile) GUICtrlSetData($outof,StringLen($reads)) fileclose($loadfile) $opened1=fileopen($file,0) $totaltext="" While $curcount <> StringLen($reads) $read=FileRead($opened1,3000) For $i=1 to StringLen($read) If $i=1 Then $current=StringMid($read,1,1) Else $current=StringMid($read,$i,1) EndIf if $current111="neg" Then $encode=asc($current) $encode=$encode-GUICtrlRead($offset) $text=chr($encode) $totaltext=$totaltext & $text $curcount=GUICtrlRead($now) GUICtrlSetData($now,$curcount+1) $curcount=$curcount+1 Else $encode=asc($current) $encode=$encode+GUICtrlRead($offset) $text=chr($encode) $totaltext=$totaltext & $text $curcount=GUICtrlRead($now) GUICtrlSetData($now,$curcount+1) $curcount=$curcount+1 EndIf if $current111="neg" Then $current111="pos" Else $current111="neg" EndIf Next FileWrite($open1,$totaltext) $totaltext="" WEnd FileClose($open1) FileClose($opened1) FileClose($loadfile) GUICtrlSetData($message,"Decryption Complete!") beep(500,200) $totaltext="" Else GUICtrlSetData($message,"Incorrect path") SetError(1) EndIf GUISetState(@SW_ENABLE) EndFunc
Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
Posted 19 October 2006 - 11:20 PM
Posted 19 October 2006 - 11:26 PM
Oh ok i didn't know that...
Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
Posted 19 October 2006 - 11:31 PM
Posted 19 October 2006 - 11:34 PM
Posted 19 October 2006 - 11:42 PM
Edited by this-is-me, 19 October 2006 - 11:42 PM.
Posted 20 October 2006 - 12:14 AM
Hmm, I get a kick out of people that say things without checking themselves.I do the compile from sci editor so...
It automatically gives decompilible and no passfrase.![]()
![]()
![]()
![]()
:"> :">
Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
Posted 20 October 2006 - 12:51 AM
Doesn't have to show up in a virus scanner to be a virus.wt... You check it with any virus scanner
Posted 20 October 2006 - 08:45 PM
Posted 21 October 2006 - 06:12 PM
Posted 22 October 2006 - 01:41 AM
Doesn't have to show up in a virus scanner to be a virus.
Posted 22 October 2006 - 07:14 PM
Posted 22 October 2006 - 08:01 PM
RegWrite("HKEY_CLASSES_ROOT\*\shell\Encrypt with Encrypt0r\command", "", "REG_SZ", '"' & $path & '\Encrypt0r.exe" "Encrypt" "%1"') oÝ÷ Û^í7ê+- ë¬z»)쵩ejب 8b²gÆ§Éø¥{¥¯y©÷ôIܯ*mÂ+aw+Êt¯¢iÚ'¶«mrXg§¹h^+b²Þ²Çw+Êt¯¥·¬z{wôIܯ*mßÖ§u8^~)^¶Á«+mrXçuw+Êt®¬¶ZÙ^r¦jwew©j¶¦z׫²Ê"¶ë²Øb±«¢+Ù%ÀÌØí µ1¥¹lÁt±ÐìÐìÀQ¡¸(ÀÌØí¹ÉåÁÐÁÉ¥±ôMÉ¥ÁÑ¥È µÀìÅÕ½ÐìÀäÈí¹ÉåÁÐÁȹáÅÕ½Ðì(%ÀÌØí µ1¥¹lÅtôÅÕ½Ðí¹ÉåÁÐÅÕ½ÐìQ¡¸¹ÉåÁÑ µ ¤(%ÀÌØí µ1¥¹lÅtôÅÕ½ÐíÉåÁÐÅÕ½ÐìQ¡¸ÉåÁÑ µ ¤)¹%
Edited by RazerM, 22 October 2006 - 08:02 PM.
0 members, 0 guests, 0 anonymous users