473,399 Members | 4,177 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

Using ScanLine

I'm trying to create an asp page for Scanline from Foundstone
(http://www.foundstone.com/index.htm?...c/scanline.htm)
with the asp below. (for our network monitoring site)

sl.exe starts on the web server processor goes to 50% but just hangs there.
The asp page then eventually times out.
(I have to kill the sl.exe process on the server)

Any ideas where I'm going wrong....

[-------------code---------------]

Dim wshShell
Dim oResult

Set wshShell = CreateObject("WScript.Shell")
Set oResult = wshShell.Exec("sl -nsr "&startaddress&"-"&endaddress)

Do Until oResult.StdOut.AtEndOfStream
oline=oResult.StdOut.Readline&"<br>"
response.write oline
Loop

Set oResult = Nothing
Set wshShell=Nothing

[-------------code---------------]
Many Thanks

Aug 26 '05 #1
1 3001
Does anyone know of any (free) asp apps that can scan a subnet?
I've written on using Alex Angelopoulos/Torgeir Bakken IsConnectible in a
loop, but this times out on larger subnets (even a class C).

Thanks

"the G" <ne*******@nospam.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
I'm trying to create an asp page for Scanline from Foundstone
(http://www.foundstone.com/index.htm?...c/scanline.htm)
with the asp below. (for our network monitoring site)

sl.exe starts on the web server processor goes to 50% but just hangs
there. The asp page then eventually times out.
(I have to kill the sl.exe process on the server)

Any ideas where I'm going wrong....

[-------------code---------------]

Dim wshShell
Dim oResult

Set wshShell = CreateObject("WScript.Shell")
Set oResult = wshShell.Exec("sl -nsr "&startaddress&"-"&endaddress)

Do Until oResult.StdOut.AtEndOfStream
oline=oResult.StdOut.Readline&"<br>"
response.write oline
Loop

Set oResult = Nothing
Set wshShell=Nothing

[-------------code---------------]
Many Thanks

Aug 30 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Mehul Patel | last post by:
Our .Net team have been pondering about using keyword. We are using streams FileStream and BufferedStream. We use using keyword at FileStream, and not BufferedStream which wraps FileStream. So...
2
by: rawCoder | last post by:
Hi All, I have a *.cer file, a public key of some one and I want to encrypt some thing using this public key. Can someone point me to a sample code for Encrypting some file using...
1
by: Mike | last post by:
When trying to compile (using Visual Web Developer 2005 Express Beta; frameworkv2.0.50215 ) the source code below I get errors (listed below due to the use of ICallBackEventHandler. Ultimately I...
5
by: Enos Meroka | last post by:
Hallo, I am a student doing my project in the university.. I have been trying to compile the program using HP -UX aCC compiler, however I keep on getting the following errors. ...
8
by: acb | last post by:
Hi, I wrote a DLL Component (using Visual Studio 2005) and managed to include it into a C# Console application. I am now trying to include this component into a Web project. I copy the DLL...
8
by: crrrystal | last post by:
What's the best way to scan in the standard input line by line in C? I need to signal the end of input after two \n 's have been inputted. The only solution I right now to deal with it is to...
0
by: Eugene Anthony | last post by:
The problem with my coding is that despite removing the records stored in the array list, the rptPages repeater control is still visible. The rptPages repeater control displayes the navigation...
3
by: JDeats | last post by:
I have some .NET 1.1 code that utilizes this technique for encrypting and decrypting a file. http://support.microsoft.com/kb/307010 In .NET 2.0 this approach is not fully supported (a .NET 2.0...
8
by: =?Utf-8?B?Q2hyaXMgSGFsY3Jvdw==?= | last post by:
Hi there I've successfully added some .NET validation controls to a page (using <asp:RequiredFieldValidator ...), however when I try to set the 'display' property to 'dynamic', my page then...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.