Cracking Configs

Credit Card Reader

Submitted by nbdarknimda, , Thread ID: 178835

Thread Closed
17-08-2020, 05:15 AM
#1
Code Below

#!/bin/bash
#origionaly created by Kris Occhipinti
#tweaked by Ryan Norris
#reads and splits data from Credit Card Swiper
:<<'info'
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
info

clear
echo "Welcome"
while [ 1 ]
do
echo "Please Swipe Your Card (Enter to Exit):"
read data

if [ "$data" = "" ]
then
echo "Exiting"
exit 0
fi

clear

num="$(echo "$data"|cut -d\B -f2|cut -d\^ -f1)"
name="$(echo "$data"|cut -d\^ -f2)"
lname="$(echo "$name"|cut -d\/ -f1)"
fname="$(echo "$name"|cut -d\/ -f2)"
exdate="$(echo "$data"|cut -d\^ -f3)"
exdate="${exdate:0:2}/${exdate:2:2}"

echo "Card Number: $num"
echo "Card Holder: $fname $lname"
echo "Experation Date: $exdate"
echo "----------------------------"
done

Users browsing this thread: 2 Guest(s)