mirror of
https://github.com/CyberSecurityUP/NeuroSploit.git
synced 2026-08-15 06:00:28 +02:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bddba6adee |
@@ -24,16 +24,19 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- { os: ubuntu-22.04, label: linux-x64, ext: tar.gz }
|
- { os: ubuntu-22.04, label: linux-x64, ext: tar.gz, target: "" }
|
||||||
- { os: ubuntu-24.04-arm, label: linux-arm64, ext: tar.gz }
|
- { os: ubuntu-24.04-arm, label: linux-arm64, ext: tar.gz, target: "" }
|
||||||
- { os: macos-13, label: macos-x64, ext: tar.gz }
|
# macOS x64 is cross-built on an Apple-Silicon runner (no scarce Intel runner).
|
||||||
- { os: macos-14, label: macos-arm64, ext: tar.gz }
|
- { os: macos-14, label: macos-x64, ext: tar.gz, target: x86_64-apple-darwin }
|
||||||
- { os: windows-latest, label: windows-x64, ext: zip }
|
- { os: macos-14, label: macos-arm64, ext: tar.gz, target: "" }
|
||||||
|
- { os: windows-latest, label: windows-x64, ext: zip, target: "" }
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install Rust
|
- name: Install Rust
|
||||||
uses: dtolnay/rust-toolchain@stable
|
uses: dtolnay/rust-toolchain@stable
|
||||||
|
with:
|
||||||
|
targets: ${{ matrix.target }}
|
||||||
|
|
||||||
- name: Cache cargo
|
- name: Cache cargo
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
@@ -46,7 +49,13 @@ jobs:
|
|||||||
|
|
||||||
- name: Build (release)
|
- name: Build (release)
|
||||||
working-directory: neurosploit-rs
|
working-directory: neurosploit-rs
|
||||||
run: cargo build --release
|
shell: bash
|
||||||
|
run: |
|
||||||
|
if [ -n "${{ matrix.target }}" ]; then
|
||||||
|
cargo build --release --target "${{ matrix.target }}"
|
||||||
|
else
|
||||||
|
cargo build --release
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Resolve tag
|
- name: Resolve tag
|
||||||
id: tag
|
id: tag
|
||||||
@@ -68,11 +77,13 @@ jobs:
|
|||||||
./neurosploit run http://testphp.vulnweb.com/ --model anthropic:claude-opus-4-8 -v
|
./neurosploit run http://testphp.vulnweb.com/ --model anthropic:claude-opus-4-8 -v
|
||||||
Or set NEUROSPLOIT_BASE to this folder and run neurosploit from anywhere.
|
Or set NEUROSPLOIT_BASE to this folder and run neurosploit from anywhere.
|
||||||
EOF
|
EOF
|
||||||
|
BINDIR="neurosploit-rs/target/release"
|
||||||
|
if [ -n "${{ matrix.target }}" ]; then BINDIR="neurosploit-rs/target/${{ matrix.target }}/release"; fi
|
||||||
if [ "${{ runner.os }}" = "Windows" ]; then
|
if [ "${{ runner.os }}" = "Windows" ]; then
|
||||||
cp neurosploit-rs/target/release/neurosploit.exe "dist/$NAME/"
|
cp "$BINDIR/neurosploit.exe" "dist/$NAME/"
|
||||||
(cd dist && 7z a "${NAME}.zip" "$NAME" >/dev/null)
|
(cd dist && 7z a "${NAME}.zip" "$NAME" >/dev/null)
|
||||||
else
|
else
|
||||||
cp neurosploit-rs/target/release/neurosploit "dist/$NAME/"
|
cp "$BINDIR/neurosploit" "dist/$NAME/"
|
||||||
(cd dist && tar -czf "${NAME}.tar.gz" "$NAME")
|
(cd dist && tar -czf "${NAME}.tar.gz" "$NAME")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,21 @@
|
|||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) 2026 Joas A Santos & Red Team Leaders
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
||||||
Reference in New Issue
Block a user