Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
7e396fc
Migrated down to .NET Framework 4.8.1
zbalkan Jul 31, 2025
cc875cf
Added AMSI scan for the text copied from popular browsers
zbalkan Jul 31, 2025
173edf4
Fixed clipboard owner capture logic
zbalkan Jul 31, 2025
26bb2e6
Moved logic to Scanner class
zbalkan Jul 31, 2025
78a7000
Added RemoveClipboardFormatListener to disposal
zbalkan Jul 31, 2025
1361e84
Added simple PasteGuard for Windows Run type attacks
zbalkan Jul 31, 2025
c994d8d
Updated README
zbalkan Jul 31, 2025
5c63a08
Fixed PasteGuard locks
zbalkan Jul 31, 2025
d00f4c5
Added PANData sanitization
zbalkan Aug 1, 2025
0aee060
Converted structs to classes for simplicity
zbalkan Aug 1, 2025
6703f49
Inlined helper method
zbalkan Aug 1, 2025
474b817
Added a retry if the clipboard is in use by another app
zbalkan Aug 1, 2025
7b05ff7
Made Logger thread -safe
zbalkan Aug 1, 2025
513de6f
Improved error handling
zbalkan Aug 1, 2025
8b50862
Removed unnecessary suppression
zbalkan Aug 1, 2025
811d283
Minor syntactic sugar changes
zbalkan Aug 1, 2025
86621e7
Fixed PasteGuard hook process issue
zbalkan Aug 1, 2025
ec66718
Cleanup
zbalkan Aug 1, 2025
f921355
Renaming
zbalkan Aug 1, 2025
b8ef610
Made editorconfig a solution-wide item
zbalkan Aug 1, 2025
b150abc
Updated test project
zbalkan Aug 1, 2025
4b967f2
Updated README
zbalkan Aug 1, 2025
9087077
Added tests for AMSI payload scan
zbalkan Aug 1, 2025
f984358
Updated README.md
zbalkan Aug 1, 2025
a02b760
Added null values for test setup
zbalkan Aug 1, 2025
a4851e3
Removed tray icon
zbalkan Sep 22, 2025
03a0aed
Updated test project and CI action
zbalkan Sep 23, 2025
b58e89d
Updated workflow to ignore docs and assets
zbalkan Sep 23, 2025
b93dbf5
Updated icons and attributed in README
zbalkan Sep 23, 2025
016af62
fixed workflow
zbalkan Sep 23, 2025
496783e
Updated README
zbalkan Sep 23, 2025
5a4750e
Moved code under src folder
zbalkan Sep 23, 2025
01a6cf8
Added badge to README
zbalkan Sep 23, 2025
899b8a8
Updated icon
zbalkan Sep 23, 2025
37818f8
Added dark-mode-aware icon to toast notification
zbalkan Sep 23, 2025
42cddd0
Reorganized helpers
zbalkan Sep 23, 2025
98e6cd8
Removed unreferenced About Window
zbalkan Sep 23, 2025
27cd4a7
Included app.manifest in the project
zbalkan Sep 23, 2025
915c543
Added 2-Series BIN check for MasterCard
zbalkan Sep 23, 2025
c6f316f
Simplified Amex pattern
zbalkan Sep 23, 2025
44fc27b
Simplified Visa regex
zbalkan Sep 23, 2025
70e443a
Extended AmEx test cases
zbalkan Sep 23, 2025
1b9f070
Updated Visa for 16, 16 and 19 digits
zbalkan Sep 23, 2025
e2d64eb
Updated MasterCard tests
zbalkan Sep 23, 2025
da11cbf
Fixed single test case
zbalkan Sep 23, 2025
73f96d4
Added Discover card support
zbalkan Sep 23, 2025
96274f3
Fixed PasteGuard condition.
zbalkan Sep 23, 2025
7cc3721
Added JCB support
zbalkan Sep 23, 2025
8e7fa2c
Added DinersClub support
zbalkan Sep 23, 2025
49f93fb
Added UnionPay support
zbalkan Sep 23, 2025
22e13d1
Fixed masking
zbalkan Sep 23, 2025
36333ce
Simplified sanitize
zbalkan Sep 23, 2025
498311e
Some brands accept 13 char PANs
zbalkan Sep 23, 2025
aa75d7d
Updated README
zbalkan Sep 23, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 0 additions & 25 deletions .github/workflows/dotnet.yml

This file was deleted.

43 changes: 43 additions & 0 deletions .github/workflows/msbuild.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: .NET Framework Build and Test

on:
push:
branches: [ "master" ]
paths-ignore:
- '**/*.md'
- '**/*.png'
- '**/*.ico'
pull_request:
branches: [ "master" ]
paths-ignore:
- '**/*.md'
- '**/*.png'
- '**/*.ico'
workflow_dispatch:


jobs:
build:
runs-on: windows-latest

steps:
- uses: actions/checkout@v3

# Add Visual Studio environment setup
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v1

- name: Setup VSTest
uses: darenm/Setup-VSTest@v1

# Restore NuGet packages
- name: Restore NuGet packages
run: nuget restore src/ClipboardMonitor.sln

# Build using MSBuild
- name: Build with MSBuild
run: msbuild src/ClipboardMonitor.sln /t:Build /p:Configuration=Release

# Run unit tests
- name: Run tests
run: vstest.console.exe src\ClipboardMonitor.Tests\bin\Release\ClipboardMonitor.Tests.dll
25 changes: 0 additions & 25 deletions ClipboardMonitor.Tests/ClipboardMonitor.Tests.csproj

This file was deleted.

72 changes: 0 additions & 72 deletions ClipboardMonitor.Tests/PANTests.cs

This file was deleted.

4 changes: 0 additions & 4 deletions ClipboardMonitor/.editorconfig

This file was deleted.

25 changes: 0 additions & 25 deletions ClipboardMonitor/AboutWindow.xaml

This file was deleted.

18 changes: 0 additions & 18 deletions ClipboardMonitor/AboutWindow.xaml.cs

This file was deleted.

10 changes: 0 additions & 10 deletions ClipboardMonitor/AssemblyInfo.cs

This file was deleted.

Binary file removed ClipboardMonitor/Assets/icon.ico
Binary file not shown.
Binary file removed ClipboardMonitor/Assets/icon.png
Binary file not shown.
7 changes: 0 additions & 7 deletions ClipboardMonitor/CLSCompliant.cs

This file was deleted.

37 changes: 0 additions & 37 deletions ClipboardMonitor/Clipboard.cs

This file was deleted.

47 changes: 0 additions & 47 deletions ClipboardMonitor/ClipboardMonitor.csproj

This file was deleted.

Loading
Loading