#!/usr/bin/perl
####################################################################################################
# CREDIT CARD FRAUD SCRUBBER					 		                  
# Copyright Psybercore.com, Inc.							info@superscripts.com                 
####################################################################################################
# COPYRIGHT NOTICE                                                           
# Copyright Psybercore.com, Inc. - All Rights Reserved.                    
# http://www.superscripts.com                                                                                                            
# Selling the code for this program, modifying or redistributing this software over the Internet or 
# in any other medium is forbidden.  Copyright and header may not be modified
#
# my name is drew star... and i am funky... http://www.mp3.com/drewstar/
#
####################################################################################################

HOW TO INSTALL AND OTHER MISC NOTES

Unpack tarball
Set path to perl at top of scrubber.cgi
Upload scrubber.cgi into your cgi-bin and chmod to 755
Install Whois Raw Module (see tutorial for module installation)
	Otherwise by telnet type inside the directory
	tar xvf Net-Whois-Raw-0.20.tar
	perl Makefile.PL
	make
	make install

Inside your billing software make a subroutine call to the script (or you can directly cut and paste scrubber.cgi)
	require "/path/to/scrubbber.cgi";
	&ccfraudscrubber;

No variables to even set!

Your billing software will likely have a mail routine to send you some kind of notification.  Scrubber.cgi will return the
following variables after execution.

$warning = "ALERT!  FORGERY THROUGH ANONYMOUS PROXY SERVER!\n";
$networkip = $ipaddress;
$networkname = $domainname;
$networkgeo = $whoisoutputraw;


$warning is only returned if this is a DEFINITE CASE OF FRAUD commonly committed by someone hooking into a remote hub
which is "untraceable" to attempt to hide their location.  This is the only reason for using these types of LAN connections.

$networkip is the users most accurate IP address (even if forged)

$networkname is the host of this IP address

$networkgeo is the geographic location of this network


These variables can be printed out by your billing software and emailed to you after a sale.  If you get a warning it
is most DEFINITELY fraud.  Otherwise compare the users network location to their billing information.  This is not
bulletproof but useful.  If you get some idiot in EGYPT (arabs always hack) using some poor guys stolen credit card
information from Kentucky these variables will EASILY show this.  

Social engineering is probably the most important of all hacking techniques.  Hackers are usually stupid, will freakout
if approached, and are very easy to profile.  Keep records of all your orders IP addresses so you can always do a search
by class C to see if its some 8 year old returning to hack you again this month.  More importantly, use this program
to send you their network data SECRETLY (DO NOT TELL THEM YOU ARE USING ANY SECURITY SOFTWARE).  Appear insecure but
BE SECURE.  REPORT ARABS TO INTERPOL AS THEY ARE MOST DEFINITELY ENEMIES OF THE USA.  AUSTRIA, AND MANY OTHER COUNTRIES
ARE ALSO PLACES YOU SHOULD NOT DO BUSINESS WITH.  So when you get an order from some idiot using "link.net" dialup
claiming he works in Michigan you will easily see this is a lie.  DO NOT MAKE ANY COMMUNICATIONS WITH THE HACKER.
EVERY TIME YOU DO YOU REVEAL NOTHING BUT MORE INFORMATION.  REPORT THEM DIRECTLY TO INTERPOL OR THE MILITARY POLICE.
MANY OVERSEAS ORGANIZATIONS ARE MONEY LAUNDERING FUNNELS FOR TERRORISTS.

An alternate way to employ this script is have it diverge into an error routine or crash/exit out if you don't
like any of the particular value combinations returned by scrubber.cgi.  One way to do this is to simply put an if-than-exit
routine after the subroutine call.

