Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Find Credit Card Numbers and Mask only 6 digits in a logfile

by marto (Cardinal)
on Apr 30, 2018 at 10:55 UTC ( [id://1213817]=note: print w/replies, xml ) Need Help??


in reply to Find Credit Card Numbers and Mask only 6 digits in a logfile

Why are you storing credit card details in plain text in a log file?

  • Comment on Re: Find Credit Card Numbers and Mask only 6 digits in a logfile

Replies are listed 'Best First'.
Re^2: Find Credit Card Numbers and Mask only 6 digits in a logfile
by VinsWorldcom (Prior) on Apr 30, 2018 at 12:05 UTC
    Why are you storing credit card details in plain text in a log file?

    Not storing them; parsing the dump of a breach for posting on the dark web ... whoops, did I say that out loud?

Re^2: Find Credit Card Numbers and Mask only 6 digits in a logfile
by gtk (Acolyte) on Apr 30, 2018 at 10:59 UTC
    It is good question, due to some debugging purpose we have disabled the encryption and currently we want to mask only 6 digits.

        Please note that this is only for the testing environments for debugging purpose. In Production, numbers are fully masked.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1213817]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (4)
As of 2024-04-26 00:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found