Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: How to develop a scanner/disinfector?

  1. #11
    Senior Member
    Join Date
    Mar 2004
    Posts
    557
    Hi

    Yes, it is possible to treat binary files using Perl. The keyword is binmode[1].
    exe and com-files (scr-files (also starts with MZ)) have the assembly code in
    hexadezimal representation (or whatever you want to call it). But bat-files
    are of completely different type - it is a scripting language, which has to be
    interpreted. I suggest you to stick with the "applications", rather than "scripts".

    Cheers.

    [1] http://www.geocities.com/herong_yang/perl/binary.html
    If the only tool you have is a hammer, you tend to see every problem as a nail.
    (Abraham Maslow, Psychologist, 1908-70)

  2. #12
    Junior Member
    Join Date
    Apr 2005
    Posts
    4
    Originally posted here by sec_ware
    Hi

    Yes, it is possible to treat binary files using Perl. The keyword is binmode[1].
    exe and com-files (scr-files (also starts with MZ)) have the assembly code in
    hexadezimal representation (or whatever you want to call it). But bat-files
    are of completely different type - it is a scripting language, which has to be
    interpreted. I suggest you to stick with the "applications", rather than "scripts".

    Cheers.

    [1] http://www.geocities.com/herong_yang/perl/binary.html
    Thanks a lot sec_ware! that link was just what I needed.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •