Skip to content
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

Add sudo crate functionality #5

Open
wants to merge 123 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
123 commits
Select commit Hold shift + click to select a range
be60971
Merge pull request #1 from Saluki/setup-semaphore
Saluki May 6, 2021
4f1f768
Merge branch 'master' of github.com:Saluki/arp-scan-rs
Saluki May 6, 2021
f876bb3
Adding rust dependencies
Saluki May 6, 2021
a0ec05f
Unique scan results in unified table
Saluki May 10, 2021
078cc86
Update Cargo details before publish
Saluki May 10, 2021
5db5e0e
Allow to show network interfaces
Saluki May 12, 2021
137d756
Updating README with some examples
Saluki May 12, 2021
1e425cd
Code organization using ARP & utils
Saluki May 12, 2021
be8d79b
Update Semaphore configuration
Saluki May 12, 2021
aedcfa0
Update Semaphore configuration
Saluki May 12, 2021
4314aa2
Update Semaphore configuration
Saluki May 12, 2021
cc2356b
Update Semaphore configuration
Saluki May 12, 2021
bad6531
Release 0.2.0
Saluki May 12, 2021
e49754e
Update documentation with download
Saluki May 12, 2021
7d931d9
Updating dependencies with ipnetwork
Saluki May 17, 2021
35508fa
Cleaning README
Saluki May 17, 2021
109a703
Enabling local hostname lookup
Saluki May 17, 2021
e8b0662
Releasing 0.3.0
Saluki May 17, 2021
8fae19e
Fixing last release tag
Saluki May 17, 2021
875ef46
Fixing release number
Saluki May 17, 2021
ad9eef3
Crafting basic test suite
Saluki May 17, 2021
573d33e
Pruning tests not compatible with Semaphore CI
Saluki May 17, 2021
3b347bd
Adding source IPv4 bypass
Saluki May 18, 2021
5f987e9
Working on common documentation
Saluki May 18, 2021
1779870
Fixing a documentation typo
Saluki May 18, 2021
babca7a
Adding a force MAC destination option
Saluki May 19, 2021
1f653e6
Release version 0.4.0
Saluki May 19, 2021
1b8cb36
Fixed version tag
Saluki May 19, 2021
a22a0a9
Adding network interface auto-discovery
Saluki May 21, 2021
1b0d59d
Add a new VLAN sending option
Saluki May 21, 2021
9567b91
Release 0.5.0
Saluki May 21, 2021
0317478
New dedicated scan options structure
Saluki May 22, 2021
07c66b6
Refactor scan options in CLI
Saluki May 22, 2021
bcac581
Adding a new retry count per host
Saluki May 22, 2021
32ffba4
Global code cleaning with response summary
Saluki May 23, 2021
09ddd28
Including scan duration in summary
Saluki May 23, 2021
aaed521
Using Arc instead of clones for config
Saluki May 24, 2021
dd93853
Randomize the target list with new -R option
Saluki May 24, 2021
1ccfb54
Release 0.6.0
Saluki May 24, 2021
5bdbc3f
Release utility & README roadmap
Saluki May 24, 2021
2e092cf
Add a new output option
Saluki May 27, 2021
51050ed
Add JSON export to the output formats
Saluki May 27, 2021
11b1709
Adding YAML to export formats
Saluki May 27, 2021
716a3ad
Prepare release 0.7.0
Saluki May 27, 2021
e309203
Updating serde_yaml for bugfix
Saluki May 27, 2021
84a63bc
Fixing release script
Saluki May 27, 2021
e85a560
Making scans faster with global read timeout
Saluki May 29, 2021
f101349
Move time-out management to main thread with intervals
Saluki May 30, 2021
646407c
Update docs & release 0.8.0
Saluki May 30, 2021
9164004
Clean code with clippy findings
Saluki May 30, 2021
5543e2b
Enabling CSV crate
Saluki May 30, 2021
67c977f
First MAC vendor IEEE database support
Saluki May 30, 2021
faba323
Handling multiple time units in args
Saluki Jun 2, 2021
cc383a9
Add MAC vendor table space
Saluki Jun 2, 2021
0af4c40
Enhancing vendor resolver with padding & tests
Saluki Jun 5, 2021
0e52815
New option for custom IEEE OUI file (CSV format)
Saluki Jun 5, 2021
ca210ff
Prepare release 0.9.0
Saluki Jun 12, 2021
832fd8f
Fixing docs with human-friendly time units
Saluki Jun 12, 2021
3a0aaaf
Utils code cleaning
Saluki Jun 14, 2021
4469f53
New ARP customization options
Saluki Jun 14, 2021
cc9fac2
Writing tests for time args parser
Saluki Jun 14, 2021
303303d
First profile type implementation
Saluki Jun 14, 2021
5f7fa33
Scan estimations for plain text output
Saluki Jun 15, 2021
08defc4
Fine-tuning estimations
Saluki Jun 20, 2021
6c23d1a
Prepare release 0.10.0
Saluki Jun 20, 2021
7f9faa2
CLI result table is now responsive
Saluki Jul 28, 2021
1e64e67
Cleaned dependencies with new ansi_term crate
Saluki Aug 8, 2021
b1cf3d9
Enhanced README documentation & profile examples
Saluki Aug 8, 2021
541159a
Finished documentation on options & next features
Saluki Aug 8, 2021
aa975da
Fixing "up" interfaces to "ready" interfaces"
Saluki Sep 22, 2021
f748359
Adding partial scan interruption
Saluki Sep 22, 2021
2c75586
Updating versions and docs
Saluki Sep 22, 2021
7c06006
Fixing args example
Saluki Oct 18, 2021
bd56ac9
Optimize datalink::interfaces calls
Saluki Oct 18, 2021
0101ab1
Enhance code readability
Saluki Oct 18, 2021
d262aae
Dedicated time utilities module
Saluki Nov 6, 2021
657c523
Better CLI message details
Saluki Nov 6, 2021
6fedd88
Working on vendor module docs
Saluki Nov 6, 2021
9eecb92
Refactoring with new --network option
Saluki Nov 7, 2021
580dbb0
Refactor to support multiple IPv4 addresses
Saluki Nov 7, 2021
f0a6f33
Smarter formatting when no results
Saluki Nov 8, 2021
06364e9
Finish support for file reading
Saluki Nov 8, 2021
289d9f0
CSV exports with existing crate
Saluki Nov 8, 2021
9a39c07
New bandwidth limit feature
Saluki Nov 8, 2021
ceae9e6
Releasing version 0.12.0
Saluki Nov 8, 2021
decc5ee
Adding comments to network
Saluki Nov 10, 2021
1a2d069
Refactor & test network CLI arg
Saluki Nov 10, 2021
13d2e99
Quick code base improvements
Saluki Nov 18, 2021
c1fbbd8
Reduce dependencies
Saluki Dec 6, 2021
426a040
Introducing new network iterator
Saluki Dec 6, 2021
50726a7
Small optimizations
Saluki Dec 6, 2021
40a445b
OUI fetching documentation
Saluki Dec 10, 2021
3104c2d
Moving to 2021 edition with code optimizations
Saluki Dec 10, 2021
48e906d
Release 0.13.0
Saluki Dec 10, 2021
029dbe4
Upgrade Semaphore CI
Saluki Dec 10, 2021
86eb4a8
Working on Rust update in CI
Saluki Dec 10, 2021
0206f3b
Allowing rustup path
Saluki Dec 10, 2021
623b5c1
Using custom Rust 1.57 image
Saluki Dec 10, 2021
e1c1447
Minor doc improvements
Saluki Dec 12, 2021
bc1c9b8
Moving to a 2-stage CI process
Saluki Dec 12, 2021
fd15131
Cancel 2-stage CI process
Saluki Dec 12, 2021
823b392
Add link to crates.io in README
Saluki Dec 12, 2021
57c7ae9
Moving to clap v3
Saluki Jan 2, 2022
d147e78
Small code improvements
Saluki Jan 20, 2022
925da62
Upgrading pnet dependency
Saluki Jan 20, 2022
29416f0
Adding Debian package builds
Saluki Jan 24, 2022
a29531d
Cleaning dependencies
Saluki Apr 27, 2022
7c6e726
Upgrading dependencies
Saluki Jun 14, 2022
d594fce
Fixing nix package 0.22.1 vulnerability
Saluki Jun 14, 2022
254135e
Fix serde YAML vulnerability
Saluki Jun 14, 2022
1628f9b
Use Rust 1.61 for CI
Saluki Jun 14, 2022
d721d6f
Publish 0.13.1
Saluki Jun 14, 2022
5d75940
Fine-tuning deb archive
Saluki Jun 14, 2022
ed802f3
Update 0.13.1 docs
Saluki Jun 14, 2022
55e7a67
Performing minor upgrades
Saluki Sep 23, 2022
86dc7a5
Add --packet-help option
Saluki Sep 23, 2022
7eaf376
Dependency upgrades
Saluki Apr 20, 2023
6862851
MSRV 1.64 and Clap 4
Saluki Apr 20, 2023
894dc6d
Moving CI to Rust 1.64
Saluki May 2, 2023
4139715
Added crate sudo in order to provide an easier user experience by giv…
umizato May 2, 2023
316638c
Removed function to check sudo status in main.rs as this is not neede…
umizato May 3, 2023
aa58f71
Removed patch number in dependency for sudo crate to align with the r…
umizato May 3, 2023
0e56929
Moved the sudo escalate call to after scan_options.request_protocol_p…
gsuyemoto May 5, 2023
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/target
/builds
**/*.rs.bk
7 changes: 7 additions & 0 deletions .semaphore/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM rust:1.64.0-slim

# Install SemaphoreCI dependencies
# https://docs.semaphoreci.com/ci-cd-environment/custom-ci-cd-environment-with-docker/
RUN apt-get update && apt-get install -y curl git openssh-client

CMD ["/bin/bash"]
9 changes: 6 additions & 3 deletions .semaphore/semaphore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,18 @@ name: Rust
agent:
machine:
type: e1-standard-2
os_image: ubuntu2004
containers:
# Rust 1.64 (2021 edition) is currently not supported in Semaphore
- name: main
image: registry.semaphoreci.com/rust:1.47
image: 'saluki/rust-ci:1.64'
blocks:
- name: Test
- name: Test release
task:
jobs:
- name: cargo test
- name: Build & test
commands:
- checkout
- rustc --version
- cargo build --verbose
- cargo test --verbose
Loading