-
Notifications
You must be signed in to change notification settings - Fork 2
Add GitHub Actions workflow for Python application #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
cyberviser
wants to merge
11
commits into
Terminal-Pressure:main
Choose a base branch
from
cyberviser:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
ec3399f
Add GitHub Actions workflow for Python application
cyberviser 8d04db2
Update .github/workflows/python-app.yml
cyberviser d4bea2a
feat: full project structure, proprietary license, README, CI
ff277b3
feat: landing page website for TerminalPressure
cyberviser 0f20e9d
fix: prevent resource exhaustion and socket leaks in stress test
36fc5fa
Add fork ownership notice
cyberviser 469f227
Add security policy
cyberviser c8d74ca
Add support policy
cyberviser c545f63
Add codeowners
cyberviser 7bdeee0
Add issue contact routing
cyberviser 9114097
Lazy-load optional TerminalPressure dependencies
cyberviser-dotcom File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| name: Bug Report | ||
| description: Report a bug in TerminalPressure | ||
| title: "[Bug]: " | ||
| labels: ["bug"] | ||
| body: | ||
| - type: dropdown | ||
| id: command | ||
| attributes: | ||
| label: Which command? | ||
| options: [scan, stress, exploit, other] | ||
| validations: | ||
| required: true | ||
| - type: textarea | ||
| id: description | ||
| attributes: | ||
| label: Bug Description | ||
| validations: | ||
| required: true | ||
| - type: textarea | ||
| id: steps | ||
| attributes: | ||
| label: Steps to Reproduce | ||
| validations: | ||
| required: true | ||
| - type: textarea | ||
| id: env | ||
| attributes: | ||
| label: Environment (OS, Python version, nmap version) | ||
| validations: | ||
| required: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| blank_issues_enabled: true | ||
| contact_links: | ||
| - name: 0AI Support | ||
| url: https://github.com/cyberviser/TerminalPressure/blob/main/SUPPORT.md | ||
| about: Portfolio support and owner contact for this repository. | ||
| - name: Private Security Reporting | ||
| url: https://github.com/cyberviser/TerminalPressure/blob/main/SECURITY.md | ||
| about: Report vulnerabilities and safety issues privately. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| name: CI | ||
|
|
||
| on: | ||
| push: | ||
| branches: [main] | ||
| pull_request: | ||
| branches: [main] | ||
|
|
||
| jobs: | ||
| lint: | ||
| name: Lint (Python ${{ matrix.python-version }}) | ||
| runs-on: ubuntu-latest | ||
| strategy: | ||
| matrix: | ||
| python-version: ["3.10", "3.11", "3.12"] | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v4 | ||
|
|
||
| - uses: actions/setup-python@v5 | ||
| with: | ||
| python-version: ${{ matrix.python-version }} | ||
| cache: pip | ||
|
|
||
| - name: Install dev deps | ||
| run: pip install flake8 | ||
|
|
||
| - name: Lint | ||
| run: flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics --exclude=__pycache__ | ||
|
|
||
| - name: Check for unauthorized use warnings | ||
| run: | | ||
| grep -n "FOR AUTHORIZED" terminal_pressure.py && echo "✓ Auth warning present" || \ | ||
| (echo "::warning::Authorization notice missing from source" && exit 0) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,39 @@ | ||
| # This workflow will install Python dependencies, run tests and lint with a single version of Python | ||
| # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python | ||
|
|
||
| name: Python application | ||
|
|
||
| on: | ||
| push: | ||
| branches: [ "main" ] | ||
| pull_request: | ||
| branches: [ "main" ] | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| jobs: | ||
| build: | ||
|
|
||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - name: Set up Python 3.10 | ||
| uses: actions/setup-python@v5 | ||
| with: | ||
| python-version: "3.10" | ||
| - name: Install dependencies | ||
| run: | | ||
| python -m pip install --upgrade pip | ||
| pip install flake8 pytest | ||
| if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | ||
| - name: Lint with flake8 | ||
| run: | | ||
| # stop the build if there are Python syntax errors or undefined names | ||
| flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics | ||
| # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide | ||
| flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics | ||
| - name: Test with pytest | ||
| run: | | ||
| pytest | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| * @cyberviser @0ai-Cyberviser |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| # Fork Notice | ||
|
|
||
| This repository is a fork of . | ||
|
|
||
| The upstream project remains owned by its original authors and remains subject | ||
| to its original license and attribution terms. | ||
|
|
||
| This fork is operated by Johnny Watters (0ai-Cyberviser) through the GitHub | ||
| accounts cyberviser, cyberviser-dotcom, and 0ai-Cyberviser. | ||
|
|
||
| ## Scope of claim | ||
|
|
||
| Johnny Watters (0ai-Cyberviser) claims ownership only over any original, | ||
| fork-specific modifications, notices, metadata, branding adjustments, and other | ||
| new material added in this fork to the extent permitted by law. | ||
|
|
||
| No claim is made here to exclusive ownership of the upstream codebase. | ||
|
|
||
| ## Contacts | ||
|
|
||
| - 0ai@cyberviserai.com | ||
| - cyberviser@proton.me |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,64 @@ | ||
| # 💥 TerminalPressure — CyberViser Pentest Toolkit | ||
|
|
||
| <div align="center"> | ||
|
|
||
|  | ||
|
|
||
| [](LICENSE) | ||
| [](https://python.org) | ||
| [](https://github.com/cyberviser/Hancock) | ||
|
|
||
| **Authorized penetration testing toolkit — vulnerability scanning, stress testing, and exploit chain simulation.** | ||
|
|
||
| > ⚠️ **FOR AUTHORIZED USE ONLY.** Use only on systems you own or have explicit written permission to test. Unauthorized use is illegal. | ||
|
|
||
| </div> | ||
|
|
||
| --- | ||
|
|
||
| ## 🔧 Features | ||
|
|
||
| | Command | Description | | ||
| |---------|-------------| | ||
| | `scan` | nmap vulnerability scan (ports 1–1024, `-sV --script vuln`) | | ||
| | `stress` | Multi-threaded connection stress test (authorized load testing) | | ||
| | `exploit` | Exploit chain simulation framework | | ||
|
|
||
| --- | ||
|
|
||
| ## ⚡ Quick Start | ||
|
|
||
| ```bash | ||
| git clone https://github.com/cyberviser/TerminalPressure.git | ||
| cd TerminalPressure | ||
| pip install -r requirements.txt | ||
|
|
||
| # Vulnerability scan (authorized targets only) | ||
| python terminal_pressure.py scan 192.168.1.1 | ||
|
|
||
| # Stress test | ||
| python terminal_pressure.py stress 192.168.1.1 --port 80 --threads 50 --duration 60 | ||
|
|
||
| # Exploit chain simulation | ||
| python terminal_pressure.py exploit 192.168.1.1 --payload default_backdoor | ||
| ``` | ||
|
|
||
| > Requires `nmap` installed on your system: `sudo apt install nmap` | ||
|
|
||
| --- | ||
|
|
||
| ## 🛡️ Part of the CyberViser Ecosystem | ||
|
|
||
| TerminalPressure is a standalone toolkit that integrates with the **Hancock AI agent** for AI-assisted pentest workflows. | ||
|
|
||
| → [**Hancock — AI Security Agent**](https://github.com/cyberviser/Hancock) | ||
| → [**CyberViser Platform**](https://cyberviser.github.io/Hancock/) | ||
|
|
||
| --- | ||
|
|
||
| ## 📄 License | ||
|
|
||
| **CyberViser Proprietary License** — see [LICENSE](LICENSE). | ||
| Commercial use requires a written agreement: contact@cyberviser.ai | ||
|
|
||
| © 2025 CyberViser. All Rights Reserved. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| # Security Policy | ||
|
|
||
| This repository is a fork operated by Johnny Watters (`0ai-Cyberviser`) as part of the `0AI` company portfolio. Upstream licensing remains in force. | ||
|
|
||
| If you discover a security vulnerability or a safety issue, do not open a public issue first. | ||
|
|
||
| Report privately to: | ||
|
|
||
| - 0ai@cyberviserai.com | ||
| - cyberviser@proton.me | ||
|
|
||
| Please include: | ||
|
|
||
| - affected repository | ||
| - impact summary | ||
| - reproduction details | ||
| - any suggested remediation | ||
|
|
||
| If the issue belongs to upstream code or project governance, report upstream as well when appropriate. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| # Support | ||
|
|
||
| This repository is a fork operated by Johnny Watters (`0ai-Cyberviser`) as part of the `0AI` company portfolio. Upstream licensing remains in force. | ||
|
|
||
| For general support or portfolio contact: | ||
|
|
||
| - 0ai@cyberviserai.com | ||
| - cyberviser@proton.me | ||
|
|
||
| Public GitHub accounts in this portfolio: | ||
|
|
||
| - `0ai-Cyberviser` | ||
| - `cyberviser` | ||
| - `cyberviser-dotcom` | ||
|
|
||
| Use the repository issue tracker for public, non-sensitive questions when appropriate. |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.