Hello,
I'm building a proxy and am trying to deal with a page that uses javascript. The page has a button like this:
<input type="submit" ...cut this out... onclick="javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions(...cut this out...)) />
When I click this button from my proxy the URL is rewritten to look like th...
Hi all,
I am experiencing some strange problems with NHibernate and the usage of proxy items within a bag. My mapping looks something similar to:
<?xml version="1.0" encoding="utf-8" ?>
<bag name="Markets" table="ITPUserWatchlistMarkets" cascade="none" lazy="false">
<key column="UserWatchlistId" />
<many-to-many class="Swan.Dom...
I have to fetch content of some urls by using proxies from a list.
All proxies requires authentication (i have username and passwords as well).
Problem is i don't have curl installed on server , so can't use curl.
I tried using sockets but having problem using that.
Any help is appreciated .
...
I wrote a Proxy in C# using sockets and a TCPListener listening to a particular port. Currently the listener gets the "GET" request from the clients browser, and then uses the Socket.Send() class to forward the request on behalf of of the client. The response is recieved using the Socket.Reveive() class and then forwarded onto the client...
A client is unable to use my webpart because he is behind a proxy server and they need to specify a username and password to get past the proxy. I have this in my config file right now:
<system.net>
<defaultProxy>
<proxy usesystemdefault="False" proxyaddress="http://127.0.0.1:8888" bypassonlocal="True" />
</defa...
Ok, so I'm new to SharePoint and my knowledge of how proxy servers work is not great, so that doesn't help. I've created a custom webpart that needs to be deployed in various client environments. One of my clients is having trouble connecting to a my web services form the webpart, and my assumption is that it's because he's using a pr...
I need a system which redirects connection requests from client machines to different sites i.e. if they type google.com they should be redirected to mysite.com
Therefore I thought of creating an app that installs a proxy on user's machines so that the app could check their outgoing connections and redirect accordingly.
Are there any ...
#!/usr/bin/perl -w
use IO::Socket;
my $sock = new IO::Socket::INET (
PeerAddr => 'remotehost',
PeerPort => '1230',
Proto => 'tcp',
) or die "ERROR in Socket Creation : $!\n";
print "TCP Connection Success.\n";
# write on the socket to server.
$data = "this is the data to send";
$socket->send($data);
# read the socket dat...
Hello,
I'm writing a proxy script that ideally does the following things:
Proxy waits for request for certain protected pages from end user
Posts login information to page. The login information is hidden to the end user.
Proxy reads the 'set-cookie' response from the server and 'hands off' this cookie to the end user. At this point...
This may not the worded quite right but here goes anyway.
If I have the following statements;
DocumentMerger<EmailMerge> mailMerge = new DocumentMerger<EmailMerge>();
List<MailMessage> mailMessages = mailMerge.Process();
DocumentMerger<SmsMerge> mailMerge = new DocumentMerger<SmsMerge>();
List<SmsMessage> smsMessages = mailMerge.Proce...
I'm working on a Kerberos style cookie-based authentication mechanism for static files for the Nginx web-server (the cookie contains an encrypted string which much match with a sub-string in the URL, the sub-string is specified by a regular expression). The system does not require MITM security, and if it will we will probably just enabl...
I've been trying to get some RewriteRules working and am successful when just using for one host, but not multiple.
I'm wanting "http://preview.domain.com" to point to "http://preview.domain.com/dir1" or "http://preview.domain.com/dir2", etc. Dir1 and Dir2 are as they contain a ProxyPass that points to the real domain. Here is what I...
I have a web service which has a method with parameter of type Collection( of Byte).
When i try to generate the proxy using the wsdl command but the datatype gets converted to single dimensional Array of Bytes.
So i thought of creating the wsdl file which will have the type as Collection(of byte) using Add as Service Reference, but even...
I'd like to access the classname of the underlying class which is an instance of java.lang.reflect.Proxy.
Is this possible?
...
Hi,
So I have a server set up (LAMP) server, this proxy has access to the internal network and I need to give the outside world access to this proxy in order to perform tasks.
For example, you should be able to call that proxy with a POST request with the right parameters and the proxy should return the status of that post. Now let's s...
Is there a way to setup a network connection that uses a socks4a in any of the Mac OS X api's or maybe even an external library that I can use?
I found that NSStream can use a socks4 or socks5 proxy but there was nothing about socks4a in the documentation that I could find.
...
I am using WebClient to read wsdl from URI.
WebClient client = new WebClient();
Stream wsdlStream = client.OpenRead(wsdlURI);
ServiceDescription wsdl = ServiceDescription.Read(wsdlStream);
Then I set Namespace and CompileUnit and use ServiceDescriptionImporter's GenerateCodeFromCompileUnit method to generate .cs class file.
Then I co...
Is it possible to send e-mails using smtp through proxy with delphi.
I have build some e-mail sending applications before, using SSL etc. but i didn't use proxy before, has anyone idea how i can do that with delphi.
Thanks.
...
I have Apache running and serving PHP but I will also like to run JBOSS for my other web app. JBOSS is running on port 8080 while Apache is running on port 80. If there is a request for URL example.com, I want Apache to handle it because it is PHP backend but for URL example2.com, I want Apache to forward the request to port 8080 to be h...
Hi,
I have some webs that are served by nginx with SSL (443) without problems.
Now, I have the web mail serving SSL on port 444, but I want nginx to proxy from 80 to 444 when webmail.mydomain.com reaches.
I've tried some config but no one of them worked. This is the last one ...
thanks,
m.
server {
listen 80;
server_name ...