This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import requests | |
username = os.environ.get('FORWARD_HTTP_PROXY_USERNAME') | |
password = os.environ.get('FORWARD_HTTP_PROXY_PASSWORD') | |
forward_proxy = os.environ.get('FORWARD_HTTP_PROXY_HOST') | |
reverse_proxy = os.environ.get('REVERSE_HTTP_PROXY_HOST') | |
def reveal_via_forward_proxy(tokenized_data): | |
r = requests.post( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'faraday_middleware' | |
require 'faraday' | |
require 'json' | |
@username = ENV['FORWARD_HTTP_PROXY_USERNAME'] | |
@password = ENV['FORWARD_HTTP_PROXY_PASSWORD'] | |
@forward_proxy = ENV['FORWARD_HTTP_PROXY_HOST'] | |
@reverse_proxy = ENV['REVERSE_HTTP_PROXY_HOST'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.verygoodsecurity.example; | |
import com.mashape.unirest.http.Unirest; | |
import com.mashape.unirest.http.exceptions.UnirestException; | |
import org.apache.http.HttpHost; | |
import org.apache.http.auth.AuthSchemeProvider; | |
import org.apache.http.auth.AuthScope; | |
import org.apache.http.auth.UsernamePasswordCredentials; | |
import org.apache.http.client.CredentialsProvider; | |
import org.apache.http.client.config.AuthSchemes; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--HTML--> | |
<form class="form-horizontal2 boxed" method="post" action="https:// | |
<tenantid>.SANDBOX.verygoodproxy.com/post"> | |
<!--CREDIT CART PAYMENT--> | |
<div class="panel panel-info"> | |
<div class="form-group"> | |
<div class="col-md-12"> | |
<label for="pan_number" id="pan_number_label">Credit Card Number</label> | |
<input class="form-control" placeholder="Card Number" type="text" name="cc_number" id="pan_number" value=""> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -H "Accept:application/json," -H "Content-Type:application/json" \ | |
-X POST -u admin:changeme -k -d "{"payment":{"card":"4111111111111111"}}" \ | |
https://tenantid.sandbox.verygoodproxycom/api/v1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extern crate hyper; | |
extern crate hyper_tls; | |
extern crate hyper_proxy; | |
extern crate envy; | |
extern crate reqwest; | |
#[macro_use] | |
extern crate serde_derive; | |
extern crate serde_json; | |
#[macro_use] | |
extern crate fake; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package test | |
import ( | |
"fmt" | |
"gopkg.in/resty.v0" | |
"os" | |
) | |
var username = os.Getenv("FORWARD_HTTP_PROXY_USERNAME") | |
var password = os.Getenv("FORWARD_HTTP_PROXY_PASSWORD") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const unirest = require('unirest'); | |
var fs = require('fs'); | |
const username = process.env.FORWARD_HTTP_PROXY_USERNAME; | |
const password = process.env.FORWARD_HTTP_PROXY_PASSWORD; | |
const forward_proxy = process.env.FORWARD_HTTP_PROXY_HOST; | |
const reverse_proxy = process.env.REVERSE_HTTP_PROXY_HOST; | |
function reveal_via_forward_proxy(tokenized_value) { | |
return new Promise((rs, rj) => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package example | |
import java.net.{InetSocketAddress, Proxy} | |
import com.softwaremill.sttp.okhttp.{OkHttpSyncBackend} | |
import okhttp3.{Authenticator, OkHttpClient} | |
import okhttp3.Credentials | |
import okhttp3.Route | |
import okhttp3.Response | |
import okhttp3.Request |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Net.Http; | |
using System.Threading.Tasks; | |
using Newtonsoft.Json.Linq; | |
using System.Net; | |
namespace example | |
{ | |
public static class Example | |
{ |
OlderNewer