From 65a45ed6028a8fedd5db922600b85160200badf4 Mon Sep 17 00:00:00 2001 From: Om1CyberSec1AI Date: Wed, 7 Jan 2026 23:55:21 -0700 Subject: [PATCH] Initial upload of PCI DSS checker files "pci-dss", "compliance", "cybersecurity", "python". --- PCI DSS Compliance Checker.txt | 45 ++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 PCI DSS Compliance Checker.txt diff --git a/PCI DSS Compliance Checker.txt b/PCI DSS Compliance Checker.txt new file mode 100644 index 0000000..a09a755 --- /dev/null +++ b/PCI DSS Compliance Checker.txt @@ -0,0 +1,45 @@ +# PCI DSS Compliance Checker + +Tool for auditing compliance with PCI DSS v4.0. Includes checklists and basic scans. + +## Features +- Interactive checklist for 12 PCI DSS requirements. +- Basic network/port scans for common issues. +- Exports results to Excel. + +## Installation +1. Clone: `git clone https://github.com/yourusername/PCI-DSS-Compliance-Checker.git` +2. `pip install -r requirements.txt` +3. Run: `python checker.py` + +## Usage +- Follow prompts to check each requirement. +- Run scans from the 'scans' folder as needed. +- Output: Updated `pci_report.xlsx`. + +## Disclaimer +This is for educational purposes; not a certified auditor. + +MIT License + + +import openpyxl +import subprocess + +# Load checklist +wb = openpyxl.load_workbook('pci_checklist.xlsx') +ws = wb.active + +# Interactive checks (sample for Requirement 1) +for row in range(2, 14): # Assuming 12 requirements starting row 2 + req = ws.cell(row=row, column=1).value + status = input(f"Check {req} (Compliant/Non-Compliant/NA): ") + ws.cell(row=row, column=2).value = status + +# Run example scan (e.g., port scan) +print("Running basic port scan...") +subprocess.run(['python', 'scans/port_scan.py']) + +# Save report +wb.save('pci_report.xlsx') +print("Report saved as pci_report.xlsx") \ No newline at end of file