Skip to content

Commit

Permalink
Update Get-CreditCardData.ps1
Browse files Browse the repository at this point in the history
commenting out line 16 as it's not used and can cause an error
  • Loading branch information
h3x-agram authored and riskydissonance committed Aug 19, 2020
1 parent 9123944 commit c3c2fd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/modules/Get-CreditCardData.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Function Get-CreditCardData {
[string]$path = $(throw "-path is required";)
)

$Excel = New-Object -ComObject Excel.Application
#$Excel = New-Object -ComObject Excel.Application

$REGEX = [regex]"(?im)(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11})"
$REGEX2 = [regex]"^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11})$"
Expand Down

0 comments on commit c3c2fd1

Please sign in to comment.