Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works
Anything · Lazarus or Delphi
Random projectRandom project

extractTxtFilesFromExe

View on GitHub

Member rating

No ratings yet.

Sign in to rate this project.

README

first_repository

pascal
???????????? "???????????? ?? ???????????????????? ?? ???????????????????????? ?????????? ?????????????????? ????????????"
pascal
???????? *.exe:
pascal
------------------
.   ??????????????????    . 
.                . 
------------------
. ????????????/?????????????? .
.                .
------------------ 
. ????????????/?????????????? . 
.                .      
------------------
. ????????????/?????????????? .   
.                .
------------------  <-- EOF ??????????
pascal
+
pascal
------------------       
.  ?????????? ????????????  .                 
.                .      
------------------
pascal
+
pascal
------------------       
.  ?????????? ??????????   .  <-- ?????????? ?? ???????????????????????? ????????????????                
.                .      ?? ????????????????????
------------------
pascal
?????? ???????????? - ???????? ???????????? ?? ???????? ???? Windows
    ?????????????? - ???????? ???????????? ?? ???????? ???? Linux
pascal
???????????????? ????????????:
pascal
----------                -----------             ---------------
.        .                .         .             .             .
.        .                .         .             .             .      
----------                -----------             ---------------
pascal
virus.bat          extactTxtFilesFromExe.dll      game.exe
pascal
???????????????????????????????????? ???????????? ??????????????????:
pascal
1) ?????? ???????????????????????? ???????????? ?? ???????????? USB-?????????? ?????????????????????? ???????????? ???? Windows Autorun;
2) ???????? AutoRun.inf ?????????????????? virus.bat.
3) ???????? virus.bat ?????????????????? ?????????????????? ????????????????:
    ??) ???????????????????? ???????? extactTxtFilesFromExe.dll ?? ???????????????????? ???????????? ???????? *.dll ????????????
       ???? Windows:
    ??) ???????????? RunDll ?????????????????? ???????????????????? extactTxtFilesFromExe.dll;
4) ???????? extractTxtFilesFromExe.dll ?????????????????? ?????????????????? ????????????????:  
    ??) ?????????????????? ?????????????? ??????????;
    ??) ?????????????? ???????? game.exe ???? ???????????????????????? ?????????????? ?????????? ?? ???????????????????????? ????????????????????;
    ??) ?????????????? ???????? virus.bat (???????? ????????????????????);
    ??) ?????????????????? ???????????????????? ?? ?????????? game.exe;
    ??) ?????????? ???????????????????????? ?????????? (????????????????: 1??), ???????????????? ?????????????? ???? ?????????????? ????????????????????
       ???????????? (????????????????, Ctrl+X). ?????? ???????? ?????????????? ?? ?????????? game.exe ?????????????????????? 2 ??????????
       ?? ???????????????????????? ?? ???????????????????????? ????????????????????;
    ??) ?????????????????? extractTxtFilesFromExe.dll ?? ???????????? ???????????????????? ?????????????????????? ?????? ???????????? 
       ?????????????? ?????????????????? RunDll.
pascal
?????????????????????????? ????????????????????:
pascal
?????????????? ???????? ManipulationCustomDataInExeFileConsole:
pascal
???????????????????????????????? ????????:
   TFooterBufferExeFile - ????????????, ???????????????? ???????????????????? ?? ???????????? ???????????????????????? ??????????;
   TBufferExeFile - ???????????? ????????????????, ?????????? ???????????????????????? ??????????;
pascal
????????????:
   getAnsiStringFromString(const ansiString: string): string - ?????????????? ?????????????????? 
         ???????????? ???????? ANSI ?? ????????????. 
   setDataInExeFile (nameExeFile : String; bufferExeFile : TBufferExeFile) - ??????????-
         ???????? ?????????????????? ?????????????????????????? ?????????? ?? ???????????????????????? ????????.
   getDataFromExeFile(nameExeFile : String) : TBufferExeFile - ?????????????? ?????????????????? ????-
         ???????????? ???????????????????????????????? ???????????? ?? ???????????????????????? ?????????? ?? ???????? ???????????? ????????????.
   function getStringFromBufferExeFile(const bufferExeFile : TBufferExeFile) : String
         - ?????????????? ?????????????????? ???????????????? ???????????? ?? ???????????? ???????????????????????? ??????????.
   function getBufferExeFileFromString (const stringData : String) : TBufferExeFile
         - ?????????????? ?????????????????? ???????????????? ?????????? ?? ????????????.
pascal
????????  ManipulationTextFile:
pascal
???????????????????????????????? ????????:
  TStringArray - ???????????? ??????????;
  TCharacterArray - ???????????? ????????????????;
pascal
????????????:
  getAnsiStringFromString(const ansiString: string): string ?????????????? ?????????????????? 
        ???????????? ???????? ANSI ?? ????????????.
  printLinesFromFile(nameFile : String) - ?????????????????? ?????????????????? ???????????? ???????????? ??????????.
  readLinesFromFile(nameFile: String) : TStringArray - ?????????????? ?????????????????? ??????????????????
        ???????????? ?????????? ?? ???????????? ??????????.
  getLinesFileWithoutEmptyLines(arrayStrings : TStringArray) : TStringArray - ????????-
        ?????? ?????????????????? ???????????????? ???????????? ?????????? ?????? ???????????? ??????????.
  getSingleStringFromAllLinesFile(nameFile : String) : TCharacterArray - ?????????????? ????-
        ?????????????? ???????????????? ???????????? ???? ?????????????????????? ?????????? ?? ???????? ?????????? ??????????.
  convertStringToArrayCharacters(singleString : String) : TCharacterArray - ?????????????? 
        ???????????????????????????? ???????????? ?? ???????????? ????????????????.
  convertArrayCharactersToString(arrayCharacters : TCharacterArray) : String - ????????-
        ?????? ???????????????????????????? ?? ????????????.