Questions tagged [little-proxy]

LittleProxy is a high performance HTTP proxy written in Java

From LittleProxy README:

LittleProxy is a high performance HTTP proxy written in Java atop Trustin Lee's excellent Netty event-based networking library. It's quite stable, performs well, and is easy to integrate into your projects.

Official Website: http://www.littleshoot.org/littleproxy

Useful Links:

35 questions
5
votes
1 answer

LittleProxy-mitm will not relay HTTPS properly

I'm trying to perform a man-in-the-middle attack on a HTTPS connection by relaying all traffic and picking out certain traffic to modify. I looked into LittleProxy-mitm as well as LittleProxy and these projects look very promising. I followed the…
BullyWiiPlaza
  • 17,329
  • 10
  • 113
  • 185
4
votes
2 answers

LittleProxy to handle both HTTP and HTTPS

I am currently using LittleProxy to add some headers to a request and forward it to a server using HTTP. I have been trying to do the same for HTTPS calls but failing. How can I achieve the same for both HTTP and HTTPS?
rojanu
  • 1,592
  • 5
  • 20
  • 34
3
votes
0 answers

Capturing HTTP Traffic through code - what are the different options?

I've been working on this for a while - I am building a module which needs to capture HTTP/HTTPs traffic which goes from and to the host computer. My original language of choice is Java, and I'm able to do the following: Create a Proxy Server using…
Sriram Sridharan
  • 720
  • 18
  • 43
3
votes
0 answers

How to Track a specific request in Selenium using BrowserMob?

I have implemented Selenium with BrowserMob proxy in embedded mode. I have also added a request and response filter to the proxy which successfully filters all the requests and responses. But how do I track a specific request, like implementing a…
3
votes
0 answers

HTTPS traffic doesn't work with VPN and Proxy

I have: VPN server (SoftEther), to which I connected. IP Tables rules to send all traffic from VPN to Proxy server. Proxy server (Java). I use LittleProxy https://github.com/adamfisk/LittleProxy. It doesn't intercept HTTPS traffic. All these items…
strateg29
  • 47
  • 4
2
votes
0 answers

littleproxy empty reply from server

I am using littleproxy-mitm to proxy requests in java to remote servers, yet I am getting an empty response from curl when trying to make a request through the proxy, regardless if it is http or https: curl: (52) Empty reply from server curl:…
2
votes
1 answer

Littleproxy endless loop

I need to validate some user requests, so I'm trying to use LittleProxy. The idea is to make it transparent to users (iptables > littleproxy > origin server). So I'm using iptables to redirect the flow to LittleProxy (that is listening on…
Bob Rivers
  • 5,261
  • 6
  • 47
  • 59
2
votes
0 answers

LittleProxy clientToProxyRequest Called twice

I configured LitteProxy as a reverse proxy and trying to implement a filter. When I send a HTTP GET , the clientToProxyRequest filter adapter is called twice. Once with DefaultHttpRequest as httpObject and the second time with LastHttpContent. It…
Ramp
  • 1,772
  • 18
  • 24
2
votes
1 answer

Java LittleProxy (on top of Netty): How to access the POST Body data?

I followed the simple example shown GitHub:LittleProxy and have added the following in clientToProxyRequest(HttpObject httpObject) Method. public HttpResponse clientToProxyRequest(HttpObject httpObject) { if(httpObject instanceof…
Thor
  • 6,607
  • 13
  • 62
  • 96
2
votes
2 answers

Http proxy on Android

I try to create http proxy within my Android app. I use this code inside onCreate() method: Proxy proxy = new Proxy(Proxy.Type.HTTP, new InetSocketAddress("10.0.2.2", 8080)); HttpURLConnection e =…
Rudziankoŭ
  • 10,681
  • 20
  • 92
  • 192
2
votes
1 answer

Create a reverse proxy by littleproxy

I'm a beginner with littleproxy, how can I create a reverse proxy server? My proxy get requests from clients and sends them to servers (servers only a regular site same as www.xxx.com contain only web page(in not rest) and proxy get response from…
M2E67
  • 937
  • 7
  • 23
1
vote
0 answers

LittleProxy to manipulate request sent and response received

We have very limited licences, So is it possible that I can fetch same data from Cloud applications via some utility/proxies which can do little data manipulation for us before storing it into our application server. Consider the usecase, I have…
Swapnil Kotwal
  • 5,418
  • 6
  • 48
  • 92
1
vote
0 answers

Return predefined html content for https urls using LittleProxy

I am using little proxy https://github.com/adamfisk/LittleProxy to create a test proxy which returns some predefined html content for a given url. Code for same: HttpProxyServer server = DefaultHttpProxyServer.bootstrap() .withPort(8080) …
1
vote
0 answers

Add MITM proxy to an existing proxy-based HTTPS connection with Netty and LittleProxy

I have a back end application stack that acts like a web browser and connects to HTTP and HTTPS servers on the internet through an external HTTP proxy service. This all works great. So we're talking an existing pipeline that looks like this:
CryptoFool
  • 21,719
  • 5
  • 26
  • 44
1
vote
1 answer

LittleProxy modify request parameter example

I have been playing with Littleproxy and found it easy to modify responses, but can't get any good example of modifying request parameters. On the net I have found only one example, modifying post data. But cannot make it work. Would you have an…
Gilles
  • 357
  • 3
  • 20
1
2 3