aashini shah

+ Follow
since Feb 06, 2008
Merit badge: grant badges
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by aashini shah

hi ,any one can help ,me to solve my problem.
i m talking about reading AppEvent.evt SecEvent.evt SysEvent.evt files
which basically resides in C:\WINDOWS\system32\config folder of
windows xp.if we want to open that files and our computer is on n/w
than some services used all three files and i m not able to open that
files manually.if i want to read that files than i have two options
either read by event viewer or copy this file and to another place and
open it in vc++.

how can i read these files?
14 years ago
i have following code

import java.sql.*;
import java.*;

class Conn2
public static void main(String args[])throws Exception

Driver d=(Driver)Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver").newInstance();
Connection con=null;

con = DriverManager.getConnection("jdbc:microsoft:sqlserver://localhost:1433;databaseName=pubs","sa", "");
catch(SQLException e)
System.out.println("connection done");


I have installed driver for sql server2000 from http://www.microsoft.com/downloads/details.aspx?FamilyID=4f8f2f01-1ed7-4c4d-8f7b-3d47969e66ae&displaylang=en

and have also set classpath variable to msutil.jar,msbase.jar and mssqlserver.jar

Exception is coming :
java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establis
hing socket.
at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source
at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
at com.microsoft.jdbc.sqlserver.tds.TDSConnection.<init>(Unknown Source)

at com.microsoft.jdbc.sqlserver.SQLServerImplConnection.open(Unknown Sou
at com.microsoft.jdbc.base.BaseConnection.getNewImplConnection(Unknown S
at com.microsoft.jdbc.base.BaseConnection.open(Unknown Source)
at com.microsoft.jdbc.base.BaseDriver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at Conn2.main(Conn2.java:14)
[Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.

wht should i do??
hello, I need to capture events on host and classify them into system,application ,security and w3c events as in Event viewer in administrative tool in control panel

how can i do this??

and how can i read syslog files???
14 years ago
In my project i want to currently running processes on the host with their cpu usage and memory usage as in task manager

I got the currently running processes using Runtime.geRuntime().exec("qprocess */sys");

but how can i get cpu usage and memory usage for the perticular process
14 years ago
In my project i want to do window registry analysis

I want to know
- software installed in the computer
- hardware configuration
- total users and their setting
- current user with setting

using java
[ March 03, 2008: Message edited by: aashini shah ]
14 years ago
I have installed Jpcap0.7 and winpcap from site
http://netresearch.ics.uci.edu/kfujii/jpcap/doc/install.html for packet capturing

but Jpcap folder contains only uninstaller for that

I couldn't install jpcap package as there is nothing in jpcap folder except uninstaller and my prg. needs

import jpcap.JpcapHandler;
import jpcap.Jpcap;
import jpcap.Packet;

So how can i have this jpcap package and where to install it.
I don't understand how CLASSPATH works? and how JVM finds the path.

I have set environment variable CLASSPATH to c:\jdk1.4\bin . i also tried c:\jdk1.4\bin\
but still i need to use set path=c:\jdk1.4\bin on command prompt.

CLASSPATH doesn't work.

what should i do?
14 years ago
In my project i need to analyse the incoming and outgoing packets from my host computer . I need header info. like

- source and destination ip address
- source and destination port addr.
- protocol
- length

how can i do this??