In and normal Java Socket class you have the method public int getLocalPort() to find out what your source port is. Does anyone know how to access this information ...
|
|
|
|
|
Thanks for replying Mr. Raghav Mathur Currently I'm configuring our Java client application to enable it to connect to a https web server via a proxy server. So far I was able to configure the client application by using this command line when running the said application: c:\java -DproxySet=true -Dhttps.proxyHost=192.168.0.1 -Dhttps.proxyPort=3128 MySSLClientApp The client app works fine when it connects to ... |
|
|
|
Originally posted by Jeroen Wenting: "I want to write a trojan that can launch a DDOS attack against other computers over the network and cause them to reset. I want to write it in Java. If you don't help me NOW you're ***************". Thanks for the laugh. Actually, if I had an easy way to do something like this in Java, ... |
|
Tell us about "the java program is written as a web server" in a bit more detail. Does it really open a server socket, accept connections from a browser and read raw requests from the input stream? I did this for my Wiki so it is certainly possible (and fun) but a bit involved. [ January 19, 2006: Message edited by: ... |
Can anyone please provide piece of code allowing me to access a remote machine (exists within another remote LAN), regarding the following: - I have no permission to configure the router of the remote LAN. - Both machines have no real IP. All what I need is piece of code transferring packets between the two machines. |
|
Hi, From wy web based Java application I need to copy a XML file from Windows OS to Linux OS in a shared folder. For that we had used sambha and had mounted the shared directory in Linux OS and now we can access the folder by a user id guest with password guest. Now from JSP web application how do ... |
Regarding answer to your question. server.policy file defines who can access the class. regarding to the error your firewall might be blocking you or the port might be binded to other application. Type "netstat" in the command prompt you can get all the ports that are being used on you system. If that port is being used by other ,try running ... |
Thanks Ujjwal for responding. I found the certificate information using Firebug. After some experimentation, it appears that the website doesn't appear to require a specific certificate. It appears that any machine can use any certificate to log into this site. The site just needs a certificate. My certificate is stored in my certificate folder on the IE8 explorer. Is this what ... |
|
hi everyone, I am writing a crawler to download webpages but some pages are protected with username/password. I am trying to use the authenticator to gain access to thoes pages provided with my username/password,but failed here is my code below package MiningExtract; import java.net.Authenticator; import java.net.InetAddress; import java.net.PasswordAuthentication; public class MyMinningAuthenticator extends Authenticator{ public MyMinningAuthenticator(){ System.out.println("MyMinningAuthenticator!!!"); } protected PasswordAuthentication getPasswordAuthentication() { ... |
|
Hello, thanks for replying. I did have a linebreak and return there before but thought it hadn't worked (/r/n), but maybe that was because of the point you mentioned and I just couldn't read any subsequent output after that point. In my simple mind i thought i could obtain the buffered reader, read until null (meaning there was no more output ... |