Skip to content

Commit 1278ea0

Browse files
committed
code: merge PR
1 parent 6938303 commit 1278ea0

22 files changed

Lines changed: 300 additions & 266 deletions

.dockerignore

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Version control
2+
.git/
3+
.github/
4+
5+
# IDE files
6+
.idea/
7+
*.bak
8+
9+
# Python build artifacts
10+
__pycache__/
11+
*.pyc
12+
*.pyo
13+
*.egg-info/
14+
dist/
15+
build/
16+
MANIFEST
17+
18+
# Testing
19+
.pytest_cache/
20+
tests/
21+
22+
# Documentation
23+
docs/
24+
25+
# Wifite runtime artifacts
26+
hs/
27+
cracked.json
28+
*.wpc
29+
30+
# Tool build directories
31+
tools/hcxdumptool/
32+
tools/hcxtools/
33+
tools/iw/
34+

.github/workflows/checkpr-sourcery.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ jobs:
88
review-with-sourcery:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v4
11+
- uses: actions/checkout@v4.2.2
1212
with:
1313
fetch-depth: 0
1414

15-
- uses: actions/setup-python@v5
15+
- uses: actions/setup-python@v5.6.0
1616
with:
1717
python-version: '3.11'
1818

.github/workflows/codeql-analysis.yml

Lines changed: 0 additions & 74 deletions
This file was deleted.

.github/workflows/codeql.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,22 +27,22 @@ jobs:
2727

2828
steps:
2929
- name: Harden Runner
30-
uses: step-security/harden-runner@v2.12.1
30+
uses: step-security/harden-runner@v2.14.2
3131
with:
3232
egress-policy: audit
3333

3434
- name: Checkout repository
3535
uses: actions/checkout@v4.2.2
3636

3737
- name: Initialize CodeQL
38-
uses: github/codeql-action/init@v3.27.9
38+
uses: github/codeql-action/init@v3.28.3
3939
with:
4040
languages: ${{ matrix.language }}
4141

4242
- name: Autobuild
43-
uses: github/codeql-action/autobuild@v3.27.9
43+
uses: github/codeql-action/autobuild@v3.28.3
4444

4545
- name: Perform CodeQL Analysis
46-
uses: github/codeql-action/analyze@v3.27.9
46+
uses: github/codeql-action/analyze@v3.28.3
4747
with:
4848
category: "/language:${{matrix.language}}"

.github/workflows/dependency-review.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- name: Harden Runner
20-
uses: step-security/harden-runner@002fdce3c6a235733a90a27c80493a3241e56863 # v2.12.1
20+
uses: step-security/harden-runner@v2.14.2
2121
with:
2222
egress-policy: audit
2323

2424
- name: 'Checkout Repository'
25-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.0
25+
uses: actions/checkout@v4.2.2
2626
- name: 'Dependency Review'
27-
uses: actions/dependency-review-action@3b139cfc5fae8b618d3eae3675e383bb1769c019 # v4.5.0
27+
uses: actions/dependency-review-action@v4.6.0

.github/workflows/ossar-analysis.yml

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ name: OSSAR
55

66
on:
77
push:
8+
branches: [master]
89
pull_request:
10+
branches: [master]
911

1012
permissions:
1113
contents: read
@@ -22,12 +24,12 @@ jobs:
2224
steps:
2325
# Checkout your code repository to scan
2426
- name: Harden Runner
25-
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
27+
uses: step-security/harden-runner@v2.14.2
2628
with:
2729
egress-policy: audit
2830

2931
- name: Checkout repository
30-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.0
32+
uses: actions/checkout@v4.2.2
3133
with:
3234
# We must fetch at least the immediate parents so that if this is
3335
# a pull request then we can checkout the head.
@@ -38,23 +40,13 @@ jobs:
3840
- run: git checkout HEAD^2
3941
if: ${{ github.event_name == 'pull_request' }}
4042

41-
# Ensure a compatible version of dotnet is installed.
42-
# The [Microsoft Security Code Analysis CLI](https://aka.ms/mscadocs) is built with dotnet v3.1.201.
43-
# A version greater than or equal to v3.1.201 of dotnet must be installed on the agent in order to run this action.
44-
# GitHub hosted runners already have a compatible version of dotnet installed and this step may be skipped.
45-
# For self-hosted runners, ensure dotnet version 3.1.201 or later is installed by including this action:
46-
# - name: Install .NET
47-
# uses: actions/setup-dotnet@v1
48-
# with:
49-
# dotnet-version: '3.1.x'
50-
5143
# Run open source static analysis tools
5244
- name: Run OSSAR
53-
uses: github/ossar-action@786a16a90ba92b4ae6228fe7382fb16ef5c51000 # v1
45+
uses: github/ossar-action@v1
5446
id: ossar
5547

5648
# Upload results to the Security tab
5749
- name: Upload OSSAR results
58-
uses: github/codeql-action/upload-sarif@df409f7d9260372bd5f19e5b04e83cb3c43714ae # v3.27.9
50+
uses: github/codeql-action/upload-sarif@v3.28.3
5951
with:
6052
sarif_file: ${{ steps.ossar.outputs.sarifFile }}

.github/workflows/python-publish.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This workflows will upload a Python Package using Twine when a release is created
1+
# This workflow will upload a Python Package using Twine when a release is created
22
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
33

44
name: Upload Python Package
@@ -16,19 +16,24 @@ jobs:
1616
runs-on: ubuntu-latest
1717

1818
steps:
19-
- uses: actions/checkout@v4
19+
- name: Harden Runner
20+
uses: step-security/harden-runner@v2.14.2
21+
with:
22+
egress-policy: audit
23+
24+
- uses: actions/checkout@v4.2.2
2025
- name: Set up Python
21-
uses: actions/setup-python@v5
26+
uses: actions/setup-python@v5.6.0
2227
with:
2328
python-version: '3.x'
2429
- name: Install dependencies
2530
run: |
2631
python -m pip install --upgrade pip
27-
pip install setuptools wheel twine
32+
pip install build twine
2833
- name: Build and publish
2934
env:
3035
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
3136
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
3237
run: |
33-
python setup.py sdist bdist_wheel
38+
python -m build
3439
twine upload dist/*

0 commit comments

Comments
 (0)