Articles

Metasploit Framework Windows Tutorial
Remote Desktop Connection
Windows Processes That May Be Dangerous
How-To use NetCat a Tutorial
Common Linux Commands
Common Ports
Netcat Commands
HTTP Response Codes
War-Google Hack Terms
Wardriving
Avoiding Social Engineering and Phishing Attacks
Intrusion Detection on Linux
Linux Intrusion Detection
Penetration Testing Guide
Penetration Testing Tools
Social Engineering Fundamentals, Part I: Hacker Tactics
Social engineering (computer security)
The Psychology of Social Engineering

The Archives

General GSO
GovernmentSecurity.org News & Suggestions
In The News
Open Topic
General Security Information
Trash Can
Exploit & Vulnerability Mailing List Archives
Trial Member Forum
Product and Program Reviews GSO Tutorials
System Security
Windows Systems
Beginners Section
Linux & Unix Systems
File Downloads
Exploit Research & Discussion Trojan & Virus Errata
Networking Security / Firewall / IDS / VPN / Routers
System Hardening
E-Mail Security
Wifi Security
Trial Member Uploads
Upload discovered Trojans & Mal ware
GSO Programming Section
C , C++ , VC++
Visual Basic.NET
Perl /CGI
Java/Javascript
PHP/XML/ASP/HTML
Assembly + Other
The Cork Board
Network Security Consultant Directory
Network Security Jobs
The Archives
Encryption Information
General Network Security
Internet Anonymity
HTTP Protocol Security
Linux Security
MS IIS Information
Exploit Articles
Programming / Tool Design
GSO Software Projects
Public Downloads
Microsoft Security Questions and Papers

DumpZ
Well there are allot system info gathering tools around but i want to try and write a simple one myself.

- OS info
- IP Address / Hostname
- Number of Hard Drives
- Number of Logical / Removeable Drives

im not really a skilled coder so i don't really know where i start, or what i need to read first.

So if i hope someone can point me in the right direction.
vnet576
QUOTE(DumpZ @ Aug 17 2005, 08:33 PM)
Well there are allot system info gathering tools around but i want to try and write a simple one myself.

- OS info
- IP Address / Hostname
- Number of Hard Drives
- Number of Logical / Removeable Drives

im not really a skilled coder so i don't really know where i start, or what i need to read first.

So if i hope someone can point me in the right direction.
*




OS Info: http://msdn.microsoft.com/library/default....tem_version.asp

IP:
http://msdn.microsoft.com/library/default....thostname_2.asp

Drives:
http://msdn.microsoft.com/library/default....gicaldrives.asp
http://msdn.microsoft.com/library/default....etdrivetype.asp


There you go. wink.gif
DumpZ
Thanks allot this should get me underway
Killaloop
QUOTE(DumpZ @ Aug 18 2005, 09:47 AM)
Thanks allot this should get me underway
*


the first resource about this should always be msdn.
there you will find all (documented) api calls with mosty code examples (often not complete though).
so next time just visit msdn and use the search function, its a programmer's playground.
if you have any problems using one api someone here is willing to help.
in the case of using network api to query remote system information you will end up asking alot I think, because I have not found one working example at msdn, it always fails with an unicode error.
they should try their samples before putting them online, but thats microsoft smile.gif
Yorn
It would be really interesting to see an executable that can be run from the commandline that will output information about the system into an XML document. I was actually thinking about something like this a few years back when people were posting HijackThis logs to get help with spyware. Supposing someone coded it right, they could have an online web application that let system support people help automatically clean workstations like the ones affected by spyware. Something to think about anyway.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2005 Invision Power Services, Inc.