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
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
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
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( |
NewerOlder