Jump to content

W4RD14L3R

Members
  • Posts

    10
  • Joined

  • Last visited

Profile Information

  • Location
    In your computer

W4RD14L3R's Achievements

Seeker

Seeker (1/7)

1

Reputation

  1. This code for cmd works well in windows 7.. SC Create "service name" binPath= @scriptfullpath start= auto type SC Create /? for a list of all uses, to parse a parameter you need to have it set out like this with the space parameter= data eg: binPath= C:windowsexplorer.exe
  2. Usually if you want to read from the STDOut stream it is usually wise to run it through a loop, there is no telling how long before it outputs data but sometimes can take a while. Take a look at "SC" from the cmd.exe it has helped me alot when creating services for programs. Usage: SC Create "service name" binPath= "app_path" start= "auto"
  3. Ohh, well in that case there was a simple AV here somewhere on the forums, try the forum search and you may find it.. It was a small utility that had retrieved the MD5 checksum of the file and checked it against a virus db
  4. You can also try the Unique Disk ID # To get this you still need to go through cmd calls. C:UsersGh0st> diskpart diskpart> List Disk Disk 0 Online diskpart> Select Disk 0 Disk 0 selected diskpart> UniqueID Disk Disk ID: xxxxxxx
  5. You could always do it the long yet effective way of "Vol" works in the cmd for you then try outputting the display text for cmd.exe C:Usersmac> vol > C:vol.txt This would output the drive id and serial number to C:vol.txt afterwards use the following code. #Include <File.au3> Local $File = 'C:Vol.txt' For $n = 1 To _FileCountLines( $File ) Step + 1 $Line = FileReadLine( $File, $n ) If StringinStr( $Line, 'Volume Serial Number is' ) Then $Line = StringReplace( $Line, 'Volume Serial Number is', '' ) $Line = StringReplace( $Line, ' ', '' ) $DriveID = $Line EndIf Next The code checks the lines in the file for Volume Serial.... Removes it and all blank whitespaces and leaves the code in the variable $DriveID
  6. He wants to do a man-in-the-middle attack by the sounds of it.. DictatoroftheUSA would be right on this, use Wireshark, Ettercap, Cain and Abel as they are GUI or Console driven or if you want to make your own program for this you would need to do some research on AirPCap or WinPCap these are packet capturing tools but it requires more effort than just packet capturing and would be very difficult
  7. Got to agree with Water on this one.. DriveGetSerial seems much simpler $Serial = DriveGetSerial( 'C:' )
  8. You might have to elaborate abit more on what you mean by compare? Of course you can compare the two hashes with basic code if thats what you are wanting? Local $Hash1 = 'blah blah' Local $Hash2 = 'blah not blah' If $Hash1 <> $Hash2 Then Msgbox( 0, 'Hash compare', 'Hash ' & $Hash1 & ' is not the same as ' & $Hash2 ) Else Msgbox( 0, 'Hash compare', 'Yes the hashes are the same!' ) EndIf
  9. 28 might help you, I have used 12 all the time and had no problems with my netbook. It will definitly shut down your computer regardless of what is running
  10. try putting this in the top of your script to make it register a function when it closes. OnAutoItExitRegister( '_Exit_' ) This should run your exit function when the script closes. Firefox is right in regards to using 127.0.0.1 as a testing ip as it wont change and it resembles localhost or "Your Computer" but you are right in using @IPAddress1. instead of having the script exit when it is done with the data, keep it running non stop accepting data and running as a server? If you need more info or help pm me
×
×
  • Create New...