fix up readme
This commit is contained in:
parent
1f29c0e62c
commit
f9e1b951fc
201
LICENSE
201
LICENSE
@ -1,201 +0,0 @@
|
|||||||
Apache License
|
|
||||||
Version 2.0, January 2004
|
|
||||||
http://www.apache.org/licenses/
|
|
||||||
|
|
||||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
||||||
|
|
||||||
1. Definitions.
|
|
||||||
|
|
||||||
"License" shall mean the terms and conditions for use, reproduction,
|
|
||||||
and distribution as defined by Sections 1 through 9 of this document.
|
|
||||||
|
|
||||||
"Licensor" shall mean the copyright owner or entity authorized by
|
|
||||||
the copyright owner that is granting the License.
|
|
||||||
|
|
||||||
"Legal Entity" shall mean the union of the acting entity and all
|
|
||||||
other entities that control, are controlled by, or are under common
|
|
||||||
control with that entity. For the purposes of this definition,
|
|
||||||
"control" means (i) the power, direct or indirect, to cause the
|
|
||||||
direction or management of such entity, whether by contract or
|
|
||||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
||||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
||||||
|
|
||||||
"You" (or "Your") shall mean an individual or Legal Entity
|
|
||||||
exercising permissions granted by this License.
|
|
||||||
|
|
||||||
"Source" form shall mean the preferred form for making modifications,
|
|
||||||
including but not limited to software source code, documentation
|
|
||||||
source, and configuration files.
|
|
||||||
|
|
||||||
"Object" form shall mean any form resulting from mechanical
|
|
||||||
transformation or translation of a Source form, including but
|
|
||||||
not limited to compiled object code, generated documentation,
|
|
||||||
and conversions to other media types.
|
|
||||||
|
|
||||||
"Work" shall mean the work of authorship, whether in Source or
|
|
||||||
Object form, made available under the License, as indicated by a
|
|
||||||
copyright notice that is included in or attached to the work
|
|
||||||
(an example is provided in the Appendix below).
|
|
||||||
|
|
||||||
"Derivative Works" shall mean any work, whether in Source or Object
|
|
||||||
form, that is based on (or derived from) the Work and for which the
|
|
||||||
editorial revisions, annotations, elaborations, or other modifications
|
|
||||||
represent, as a whole, an original work of authorship. For the purposes
|
|
||||||
of this License, Derivative Works shall not include works that remain
|
|
||||||
separable from, or merely link (or bind by name) to the interfaces of,
|
|
||||||
the Work and Derivative Works thereof.
|
|
||||||
|
|
||||||
"Contribution" shall mean any work of authorship, including
|
|
||||||
the original version of the Work and any modifications or additions
|
|
||||||
to that Work or Derivative Works thereof, that is intentionally
|
|
||||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
||||||
or by an individual or Legal Entity authorized to submit on behalf of
|
|
||||||
the copyright owner. For the purposes of this definition, "submitted"
|
|
||||||
means any form of electronic, verbal, or written communication sent
|
|
||||||
to the Licensor or its representatives, including but not limited to
|
|
||||||
communication on electronic mailing lists, source code control systems,
|
|
||||||
and issue tracking systems that are managed by, or on behalf of, the
|
|
||||||
Licensor for the purpose of discussing and improving the Work, but
|
|
||||||
excluding communication that is conspicuously marked or otherwise
|
|
||||||
designated in writing by the copyright owner as "Not a Contribution."
|
|
||||||
|
|
||||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
||||||
on behalf of whom a Contribution has been received by Licensor and
|
|
||||||
subsequently incorporated within the Work.
|
|
||||||
|
|
||||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
||||||
this License, each Contributor hereby grants to You a perpetual,
|
|
||||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
||||||
copyright license to reproduce, prepare Derivative Works of,
|
|
||||||
publicly display, publicly perform, sublicense, and distribute the
|
|
||||||
Work and such Derivative Works in Source or Object form.
|
|
||||||
|
|
||||||
3. Grant of Patent License. Subject to the terms and conditions of
|
|
||||||
this License, each Contributor hereby grants to You a perpetual,
|
|
||||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
||||||
(except as stated in this section) patent license to make, have made,
|
|
||||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
||||||
where such license applies only to those patent claims licensable
|
|
||||||
by such Contributor that are necessarily infringed by their
|
|
||||||
Contribution(s) alone or by combination of their Contribution(s)
|
|
||||||
with the Work to which such Contribution(s) was submitted. If You
|
|
||||||
institute patent litigation against any entity (including a
|
|
||||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
||||||
or a Contribution incorporated within the Work constitutes direct
|
|
||||||
or contributory patent infringement, then any patent licenses
|
|
||||||
granted to You under this License for that Work shall terminate
|
|
||||||
as of the date such litigation is filed.
|
|
||||||
|
|
||||||
4. Redistribution. You may reproduce and distribute copies of the
|
|
||||||
Work or Derivative Works thereof in any medium, with or without
|
|
||||||
modifications, and in Source or Object form, provided that You
|
|
||||||
meet the following conditions:
|
|
||||||
|
|
||||||
(a) You must give any other recipients of the Work or
|
|
||||||
Derivative Works a copy of this License; and
|
|
||||||
|
|
||||||
(b) You must cause any modified files to carry prominent notices
|
|
||||||
stating that You changed the files; and
|
|
||||||
|
|
||||||
(c) You must retain, in the Source form of any Derivative Works
|
|
||||||
that You distribute, all copyright, patent, trademark, and
|
|
||||||
attribution notices from the Source form of the Work,
|
|
||||||
excluding those notices that do not pertain to any part of
|
|
||||||
the Derivative Works; and
|
|
||||||
|
|
||||||
(d) If the Work includes a "NOTICE" text file as part of its
|
|
||||||
distribution, then any Derivative Works that You distribute must
|
|
||||||
include a readable copy of the attribution notices contained
|
|
||||||
within such NOTICE file, excluding those notices that do not
|
|
||||||
pertain to any part of the Derivative Works, in at least one
|
|
||||||
of the following places: within a NOTICE text file distributed
|
|
||||||
as part of the Derivative Works; within the Source form or
|
|
||||||
documentation, if provided along with the Derivative Works; or,
|
|
||||||
within a display generated by the Derivative Works, if and
|
|
||||||
wherever such third-party notices normally appear. The contents
|
|
||||||
of the NOTICE file are for informational purposes only and
|
|
||||||
do not modify the License. You may add Your own attribution
|
|
||||||
notices within Derivative Works that You distribute, alongside
|
|
||||||
or as an addendum to the NOTICE text from the Work, provided
|
|
||||||
that such additional attribution notices cannot be construed
|
|
||||||
as modifying the License.
|
|
||||||
|
|
||||||
You may add Your own copyright statement to Your modifications and
|
|
||||||
may provide additional or different license terms and conditions
|
|
||||||
for use, reproduction, or distribution of Your modifications, or
|
|
||||||
for any such Derivative Works as a whole, provided Your use,
|
|
||||||
reproduction, and distribution of the Work otherwise complies with
|
|
||||||
the conditions stated in this License.
|
|
||||||
|
|
||||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
||||||
any Contribution intentionally submitted for inclusion in the Work
|
|
||||||
by You to the Licensor shall be under the terms and conditions of
|
|
||||||
this License, without any additional terms or conditions.
|
|
||||||
Notwithstanding the above, nothing herein shall supersede or modify
|
|
||||||
the terms of any separate license agreement you may have executed
|
|
||||||
with Licensor regarding such Contributions.
|
|
||||||
|
|
||||||
6. Trademarks. This License does not grant permission to use the trade
|
|
||||||
names, trademarks, service marks, or product names of the Licensor,
|
|
||||||
except as required for reasonable and customary use in describing the
|
|
||||||
origin of the Work and reproducing the content of the NOTICE file.
|
|
||||||
|
|
||||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
||||||
agreed to in writing, Licensor provides the Work (and each
|
|
||||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
||||||
implied, including, without limitation, any warranties or conditions
|
|
||||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
||||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
||||||
appropriateness of using or redistributing the Work and assume any
|
|
||||||
risks associated with Your exercise of permissions under this License.
|
|
||||||
|
|
||||||
8. Limitation of Liability. In no event and under no legal theory,
|
|
||||||
whether in tort (including negligence), contract, or otherwise,
|
|
||||||
unless required by applicable law (such as deliberate and grossly
|
|
||||||
negligent acts) or agreed to in writing, shall any Contributor be
|
|
||||||
liable to You for damages, including any direct, indirect, special,
|
|
||||||
incidental, or consequential damages of any character arising as a
|
|
||||||
result of this License or out of the use or inability to use the
|
|
||||||
Work (including but not limited to damages for loss of goodwill,
|
|
||||||
work stoppage, computer failure or malfunction, or any and all
|
|
||||||
other commercial damages or losses), even if such Contributor
|
|
||||||
has been advised of the possibility of such damages.
|
|
||||||
|
|
||||||
9. Accepting Warranty or Additional Liability. While redistributing
|
|
||||||
the Work or Derivative Works thereof, You may choose to offer,
|
|
||||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
||||||
or other liability obligations and/or rights consistent with this
|
|
||||||
License. However, in accepting such obligations, You may act only
|
|
||||||
on Your own behalf and on Your sole responsibility, not on behalf
|
|
||||||
of any other Contributor, and only if You agree to indemnify,
|
|
||||||
defend, and hold each Contributor harmless for any liability
|
|
||||||
incurred by, or claims asserted against, such Contributor by reason
|
|
||||||
of your accepting any such warranty or additional liability.
|
|
||||||
|
|
||||||
END OF TERMS AND CONDITIONS
|
|
||||||
|
|
||||||
APPENDIX: How to apply the Apache License to your work.
|
|
||||||
|
|
||||||
To apply the Apache License to your work, attach the following
|
|
||||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
||||||
replaced with your own identifying information. (Don't include
|
|
||||||
the brackets!) The text should be enclosed in the appropriate
|
|
||||||
comment syntax for the file format. We also recommend that a
|
|
||||||
file or class name and description of purpose be included on the
|
|
||||||
same "printed page" as the copyright notice for easier
|
|
||||||
identification within third-party archives.
|
|
||||||
|
|
||||||
Copyright 2024 Femboy Cyber Networks LLC
|
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
you may not use this file except in compliance with the License.
|
|
||||||
You may obtain a copy of the License at
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
850
README.md
850
README.md
@ -1,16 +1,29 @@
|
|||||||
|
|
||||||
# Ghostport
|
# Ghostport
|
||||||
|
|
||||||
Ghostport is a wip clone of portspoof
|
Ghostport is a sophisticated port spoofing tool designed to confuse and mislead port scanners. It's a Rust implementation inspired by the concept of portspoof, offering enhanced performance and flexibility.
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
- **Dynamic Port Emulation**: Responds to port scans with a variety of convincing service signatures.
|
||||||
|
- **Customizable Signatures**: Easily add or modify service signatures through a simple text file.
|
||||||
|
- **High Performance**: Built with Rust and Tokio for efficient, asynchronous handling of connections.
|
||||||
|
- **Flexible Logging**: Offers debug, verbose, and quiet logging modes for different use cases.
|
||||||
|
- **Easy to Use**: Simple command-line interface with sensible defaults.
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://git.suicidal.network/sad/ghostport.git
|
git clone https://github.com/yourusername/ghostport.git
|
||||||
cd ghostport
|
cd ghostport
|
||||||
cargo build
|
cargo build --release
|
||||||
cd target/debug
|
```
|
||||||
./ghostport -s ../../signatures.txt
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
Basic usage:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
./target/release/ghostport -s signatures.txt
|
||||||
```
|
```
|
||||||
|
|
||||||
or you can run with cargo
|
or you can run with cargo
|
||||||
@ -20,781 +33,76 @@ cd ghostport
|
|||||||
cargo run -- -s signatures.txt
|
cargo run -- -s signatures.txt
|
||||||
```
|
```
|
||||||
|
|
||||||
this will run on port 8888 with listening address 127.0.0.1
|
This will start Ghostport on the default address (127.0.0.1:8888) using the signatures from `signatures.txt`.
|
||||||
|
|
||||||
|
### Command-line Options
|
||||||
|
|
||||||
|
- `-s, --signatures <FILE>`: Path to the signatures file (default: "signatures")
|
||||||
|
- `-l, --listen <ADDRESS>`: Address to listen on (default: "127.0.0.1:8888")
|
||||||
|
- `-d, --debug`: Enable debug logging
|
||||||
|
- `-v, --verbose`: Enable verbose logging
|
||||||
|
- `-q, --quiet`: Enable quiet logging
|
||||||
|
- `-V, --version`: Print version information
|
||||||
|
|
||||||
## Usage
|
### Examples
|
||||||
```bash
|
|
||||||
./ghostport -h # for help
|
|
||||||
Usage: ghostport [OPTIONS]
|
|
||||||
|
|
||||||
Options:
|
Run with custom address and verbose logging:
|
||||||
-s, --signatures <FILE> Path to the signatures [default: signatures]
|
|
||||||
-l, --listen <ADDRESS> Address to listen on [default: 127.0.0.1:8888]
|
|
||||||
-d, --debug Enable debug logging
|
|
||||||
-v, --verbose Enable verbose logging
|
|
||||||
-q, --quiet Enable quiet logging
|
|
||||||
-V, --version Print version information
|
|
||||||
-h, --help Print hel
|
|
||||||
```
|
|
||||||
# example
|
|
||||||
```bash
|
|
||||||
./ghostport -s signatures.txt -l 10.13.37.3:8888 -v
|
|
||||||
```
|
|
||||||
nmap show off, you will need to route your traffic first
|
|
||||||
```
|
|
||||||
nmap -A 10.13.37.3 -vvvvvvvvvv -sV -T4 -Pn
|
|
||||||
```
|
|
||||||
results will show as:
|
|
||||||
```
|
|
||||||
Host discovery disabled (-Pn). All addresses will be marked 'up' and scan times may be slower.
|
|
||||||
Starting Nmap 7.94 ( https://nmap.org ) at 2024-05-06 21:01 UTC
|
|
||||||
NSE: Loaded 156 scripts for scanning.
|
|
||||||
NSE: Script Pre-scanning.
|
|
||||||
NSE: Starting runlevel 1 (of 3) scan.
|
|
||||||
Initiating NSE at 21:01
|
|
||||||
Completed NSE at 21:01, 0.00s elapsed
|
|
||||||
NSE: Starting runlevel 2 (of 3) scan.
|
|
||||||
Initiating NSE at 21:01
|
|
||||||
Completed NSE at 21:01, 0.00s elapsed
|
|
||||||
NSE: Starting runlevel 3 (of 3) scan.
|
|
||||||
Initiating NSE at 21:01
|
|
||||||
Completed NSE at 21:01, 0.00s elapsed
|
|
||||||
Initiating Parallel DNS resolution of 1 host. at 21:01
|
|
||||||
Completed Parallel DNS resolution of 1 host. at 21:01, 0.14s elapsed
|
|
||||||
DNS resolution of 1 IPs took 0.14s. Mode: Async [#: 1, OK: 0, NX: 1, DR: 0, SF: 0, TR: 1, CN: 0]
|
|
||||||
Initiating Connect Scan at 21:01
|
|
||||||
Scanning 10.13.37.3 [1000 ports]
|
|
||||||
Discovered open port 3306/tcp on 10.13.37.3
|
|
||||||
Discovered open port 587/tcp on 10.13.37.3
|
|
||||||
Discovered open port 5900/tcp on 10.13.37.3
|
|
||||||
Discovered open port 554/tcp on 10.13.37.3
|
|
||||||
Discovered open port 143/tcp on 10.13.37.3
|
|
||||||
Discovered open port 135/tcp on 10.13.37.3
|
|
||||||
Discovered open port 110/tcp on 10.13.37.3
|
|
||||||
Discovered open port 25/tcp on 10.13.37.3
|
|
||||||
Discovered open port 445/tcp on 10.13.37.3
|
|
||||||
Discovered open port 256/tcp on 10.13.37.3
|
|
||||||
Discovered open port 53/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1723/tcp on 10.13.37.3
|
|
||||||
Discovered open port 21/tcp on 10.13.37.3
|
|
||||||
Discovered open port 993/tcp on 10.13.37.3
|
|
||||||
Discovered open port 199/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1720/tcp on 10.13.37.3
|
|
||||||
Discovered open port 23/tcp on 10.13.37.3
|
|
||||||
Discovered open port 80/tcp on 10.13.37.3
|
|
||||||
Discovered open port 111/tcp on 10.13.37.3
|
|
||||||
Discovered open port 3389/tcp on 10.13.37.3
|
|
||||||
Discovered open port 995/tcp on 10.13.37.3
|
|
||||||
Discovered open port 8888/tcp on 10.13.37.3
|
|
||||||
Discovered open port 113/tcp on 10.13.37.3
|
|
||||||
Discovered open port 22/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1025/tcp on 10.13.37.3
|
|
||||||
Discovered open port 443/tcp on 10.13.37.3
|
|
||||||
Discovered open port 8080/tcp on 10.13.37.3
|
|
||||||
Discovered open port 139/tcp on 10.13.37.3
|
|
||||||
Discovered open port 32785/tcp on 10.13.37.3
|
|
||||||
Discovered open port 6009/tcp on 10.13.37.3
|
|
||||||
Discovered open port 4343/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1494/tcp on 10.13.37.3
|
|
||||||
Discovered open port 2106/tcp on 10.13.37.3
|
|
||||||
Discovered open port 49161/tcp on 10.13.37.3
|
|
||||||
Discovered open port 9968/tcp on 10.13.37.3
|
|
||||||
Discovered open port 65000/tcp on 10.13.37.3
|
|
||||||
Discovered open port 41511/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1309/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1148/tcp on 10.13.37.3
|
|
||||||
Discovered open port 427/tcp on 10.13.37.3
|
|
||||||
Discovered open port 5718/tcp on 10.13.37.3
|
|
||||||
Discovered open port 7435/tcp on 10.13.37.3
|
|
||||||
Discovered open port 700/tcp on 10.13.37.3
|
|
||||||
Discovered open port 2301/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1236/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1021/tcp on 10.13.37.3
|
|
||||||
Discovered open port 3261/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1147/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1417/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1218/tcp on 10.13.37.3
|
|
||||||
Discovered open port 30951/tcp on 10.13.37.3
|
|
||||||
Discovered open port 8651/tcp on 10.13.37.3
|
|
||||||
Discovered open port 3871/tcp on 10.13.37.3
|
|
||||||
Discovered open port 5906/tcp on 10.13.37.3
|
|
||||||
Discovered open port 2111/tcp on 10.13.37.3
|
|
||||||
Discovered open port 9003/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1098/tcp on 10.13.37.3
|
|
||||||
Discovered open port 2251/tcp on 10.13.37.3
|
|
||||||
Discovered open port 714/tcp on 10.13.37.3
|
|
||||||
Discovered open port 541/tcp on 10.13.37.3
|
|
||||||
Discovered open port 27355/tcp on 10.13.37.3
|
|
||||||
Discovered open port 3283/tcp on 10.13.37.3
|
|
||||||
Discovered open port 306/tcp on 10.13.37.3
|
|
||||||
Discovered open port 2004/tcp on 10.13.37.3
|
|
||||||
Discovered open port 44501/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1044/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1050/tcp on 10.13.37.3
|
|
||||||
Discovered open port 9101/tcp on 10.13.37.3
|
|
||||||
Discovered open port 49160/tcp on 10.13.37.3
|
|
||||||
Discovered open port 777/tcp on 10.13.37.3
|
|
||||||
Discovered open port 3269/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1999/tcp on 10.13.37.3
|
|
||||||
Discovered open port 2020/tcp on 10.13.37.3
|
|
||||||
Discovered open port 2725/tcp on 10.13.37.3
|
|
||||||
Discovered open port 2875/tcp on 10.13.37.3
|
|
||||||
Discovered open port 6969/tcp on 10.13.37.3
|
|
||||||
Discovered open port 8093/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1130/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1594/tcp on 10.13.37.3
|
|
||||||
Discovered open port 9090/tcp on 10.13.37.3
|
|
||||||
Discovered open port 3128/tcp on 10.13.37.3
|
|
||||||
Discovered open port 83/tcp on 10.13.37.3
|
|
||||||
Discovered open port 4900/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1688/tcp on 10.13.37.3
|
|
||||||
Discovered open port 56738/tcp on 10.13.37.3
|
|
||||||
Discovered open port 6543/tcp on 10.13.37.3
|
|
||||||
Discovered open port 5801/tcp on 10.13.37.3
|
|
||||||
Discovered open port 3/tcp on 10.13.37.3
|
|
||||||
Discovered open port 902/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1192/tcp on 10.13.37.3
|
|
||||||
Discovered open port 15000/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1126/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1117/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1175/tcp on 10.13.37.3
|
|
||||||
Discovered open port 49999/tcp on 10.13.37.3
|
|
||||||
Discovered open port 990/tcp on 10.13.37.3
|
|
||||||
Discovered open port 8089/tcp on 10.13.37.3
|
|
||||||
Discovered open port 32776/tcp on 10.13.37.3
|
|
||||||
Discovered open port 9290/tcp on 10.13.37.3
|
|
||||||
Discovered open port 8654/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1259/tcp on 10.13.37.3
|
|
||||||
Discovered open port 617/tcp on 10.13.37.3
|
|
||||||
Discovered open port 5962/tcp on 10.13.37.3
|
|
||||||
Discovered open port 7/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1114/tcp on 10.13.37.3
|
|
||||||
Discovered open port 705/tcp on 10.13.37.3
|
|
||||||
Discovered open port 3546/tcp on 10.13.37.3
|
|
||||||
Discovered open port 2022/tcp on 10.13.37.3
|
|
||||||
Discovered open port 31337/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1271/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1057/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1719/tcp on 10.13.37.3
|
|
||||||
Discovered open port 5226/tcp on 10.13.37.3
|
|
||||||
Discovered open port 2394/tcp on 10.13.37.3
|
|
||||||
Discovered open port 2013/tcp on 10.13.37.3
|
|
||||||
Discovered open port 7200/tcp on 10.13.37.3
|
|
||||||
Discovered open port 51103/tcp on 10.13.37.3
|
|
||||||
Discovered open port 3814/tcp on 10.13.37.3
|
|
||||||
Discovered open port 8222/tcp on 10.13.37.3
|
|
||||||
Discovered open port 48080/tcp on 10.13.37.3
|
|
||||||
Discovered open port 4000/tcp on 10.13.37.3
|
|
||||||
Discovered open port 9071/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1151/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1032/tcp on 10.13.37.3
|
|
||||||
Discovered open port 27000/tcp on 10.13.37.3
|
|
||||||
Discovered open port 3052/tcp on 10.13.37.3
|
|
||||||
Discovered open port 8002/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1244/tcp on 10.13.37.3
|
|
||||||
Discovered open port 4242/tcp on 10.13.37.3
|
|
||||||
Discovered open port 49157/tcp on 10.13.37.3
|
|
||||||
Discovered open port 19842/tcp on 10.13.37.3
|
|
||||||
Discovered open port 2170/tcp on 10.13.37.3
|
|
||||||
Discovered open port 82/tcp on 10.13.37.3
|
|
||||||
Discovered open port 9500/tcp on 10.13.37.3
|
|
||||||
Discovered open port 8181/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1022/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1717/tcp on 10.13.37.3
|
|
||||||
Discovered open port 3001/tcp on 10.13.37.3
|
|
||||||
Discovered open port 5989/tcp on 10.13.37.3
|
|
||||||
Discovered open port 49175/tcp on 10.13.37.3
|
|
||||||
Discovered open port 32783/tcp on 10.13.37.3
|
|
||||||
Discovered open port 9485/tcp on 10.13.37.3
|
|
||||||
Discovered open port 19801/tcp on 10.13.37.3
|
|
||||||
Discovered open port 7201/tcp on 10.13.37.3
|
|
||||||
Discovered open port 6789/tcp on 10.13.37.3
|
|
||||||
Discovered open port 8090/tcp on 10.13.37.3
|
|
||||||
Discovered open port 2607/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1068/tcp on 10.13.37.3
|
|
||||||
Discovered open port 8400/tcp on 10.13.37.3
|
|
||||||
Discovered open port 7019/tcp on 10.13.37.3
|
|
||||||
Discovered open port 5810/tcp on 10.13.37.3
|
|
||||||
Discovered open port 5087/tcp on 10.13.37.3
|
|
||||||
Discovered open port 5904/tcp on 10.13.37.3
|
|
||||||
Discovered open port 2030/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1533/tcp on 10.13.37.3
|
|
||||||
Discovered open port 2811/tcp on 10.13.37.3
|
|
||||||
Discovered open port 6699/tcp on 10.13.37.3
|
|
||||||
Discovered open port 8008/tcp on 10.13.37.3
|
|
||||||
Discovered open port 648/tcp on 10.13.37.3
|
|
||||||
Discovered open port 555/tcp on 10.13.37.3
|
|
||||||
Discovered open port 20222/tcp on 10.13.37.3
|
|
||||||
Discovered open port 57294/tcp on 10.13.37.3
|
|
||||||
Discovered open port 5440/tcp on 10.13.37.3
|
|
||||||
Discovered open port 8042/tcp on 10.13.37.3
|
|
||||||
Discovered open port 15742/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1110/tcp on 10.13.37.3
|
|
||||||
Discovered open port 8402/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1935/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1154/tcp on 10.13.37.3
|
|
||||||
Discovered open port 2869/tcp on 10.13.37.3
|
|
||||||
Discovered open port 11967/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1300/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1100/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1054/tcp on 10.13.37.3
|
|
||||||
Discovered open port 10180/tcp on 10.13.37.3
|
|
||||||
Discovered open port 8333/tcp on 10.13.37.3
|
|
||||||
Discovered open port 13/tcp on 10.13.37.3
|
|
||||||
Discovered open port 722/tcp on 10.13.37.3
|
|
||||||
Discovered open port 3013/tcp on 10.13.37.3
|
|
||||||
Discovered open port 7999/tcp on 10.13.37.3
|
|
||||||
Discovered open port 3918/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1037/tcp on 10.13.37.3
|
|
||||||
Discovered open port 3300/tcp on 10.13.37.3
|
|
||||||
Discovered open port 12000/tcp on 10.13.37.3
|
|
||||||
Discovered open port 593/tcp on 10.13.37.3
|
|
||||||
Discovered open port 7004/tcp on 10.13.37.3
|
|
||||||
Discovered open port 6502/tcp on 10.13.37.3
|
|
||||||
Discovered open port 6112/tcp on 10.13.37.3
|
|
||||||
Discovered open port 6669/tcp on 10.13.37.3
|
|
||||||
Discovered open port 9/tcp on 10.13.37.3
|
|
||||||
Discovered open port 3031/tcp on 10.13.37.3
|
|
||||||
Discovered open port 4445/tcp on 10.13.37.3
|
|
||||||
Discovered open port 33/tcp on 10.13.37.3
|
|
||||||
Discovered open port 8194/tcp on 10.13.37.3
|
|
||||||
Discovered open port 9011/tcp on 10.13.37.3
|
|
||||||
Discovered open port 8192/tcp on 10.13.37.3
|
|
||||||
Discovered open port 7025/tcp on 10.13.37.3
|
|
||||||
Discovered open port 625/tcp on 10.13.37.3
|
|
||||||
Discovered open port 5915/tcp on 10.13.37.3
|
|
||||||
Discovered open port 2998/tcp on 10.13.37.3
|
|
||||||
Discovered open port 32781/tcp on 10.13.37.3
|
|
||||||
Discovered open port 5998/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1060/tcp on 10.13.37.3
|
|
||||||
Discovered open port 8010/tcp on 10.13.37.3
|
|
||||||
Discovered open port 32780/tcp on 10.13.37.3
|
|
||||||
Discovered open port 49159/tcp on 10.13.37.3
|
|
||||||
Discovered open port 3322/tcp on 10.13.37.3
|
|
||||||
Discovered open port 8200/tcp on 10.13.37.3
|
|
||||||
Discovered open port 85/tcp on 10.13.37.3
|
|
||||||
Discovered open port 8045/tcp on 10.13.37.3
|
|
||||||
Discovered open port 5862/tcp on 10.13.37.3
|
|
||||||
Discovered open port 500/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1010/tcp on 10.13.37.3
|
|
||||||
Discovered open port 8031/tcp on 10.13.37.3
|
|
||||||
Discovered open port 3301/tcp on 10.13.37.3
|
|
||||||
Discovered open port 9103/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1900/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1163/tcp on 10.13.37.3
|
|
||||||
Discovered open port 4446/tcp on 10.13.37.3
|
|
||||||
Discovered open port 646/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1233/tcp on 10.13.37.3
|
|
||||||
Discovered open port 2042/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1092/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1077/tcp on 10.13.37.3
|
|
||||||
Discovered open port 10215/tcp on 10.13.37.3
|
|
||||||
Discovered open port 9999/tcp on 10.13.37.3
|
|
||||||
Discovered open port 389/tcp on 10.13.37.3
|
|
||||||
Discovered open port 10012/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1028/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1061/tcp on 10.13.37.3
|
|
||||||
Discovered open port 4001/tcp on 10.13.37.3
|
|
||||||
Discovered open port 9009/tcp on 10.13.37.3
|
|
||||||
Discovered open port 50003/tcp on 10.13.37.3
|
|
||||||
Discovered open port 301/tcp on 10.13.37.3
|
|
||||||
Discovered open port 9091/tcp on 10.13.37.3
|
|
||||||
Discovered open port 50500/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1062/tcp on 10.13.37.3
|
|
||||||
Discovered open port 9100/tcp on 10.13.37.3
|
|
||||||
Discovered open port 2034/tcp on 10.13.37.3
|
|
||||||
Discovered open port 888/tcp on 10.13.37.3
|
|
||||||
Discovered open port 3007/tcp on 10.13.37.3
|
|
||||||
Discovered open port 4449/tcp on 10.13.37.3
|
|
||||||
Discovered open port 16992/tcp on 10.13.37.3
|
|
||||||
Discovered open port 5822/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1248/tcp on 10.13.37.3
|
|
||||||
Discovered open port 49154/tcp on 10.13.37.3
|
|
||||||
Discovered open port 3211/tcp on 10.13.37.3
|
|
||||||
Discovered open port 5100/tcp on 10.13.37.3
|
|
||||||
Discovered open port 28201/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1064/tcp on 10.13.37.3
|
|
||||||
Discovered open port 10082/tcp on 10.13.37.3
|
|
||||||
Discovered open port 5877/tcp on 10.13.37.3
|
|
||||||
Discovered open port 3826/tcp on 10.13.37.3
|
|
||||||
Discovered open port 515/tcp on 10.13.37.3
|
|
||||||
Discovered open port 5952/tcp on 10.13.37.3
|
|
||||||
Discovered open port 4045/tcp on 10.13.37.3
|
|
||||||
Discovered open port 9080/tcp on 10.13.37.3
|
|
||||||
Discovered open port 7920/tcp on 10.13.37.3
|
|
||||||
Discovered open port 416/tcp on 10.13.37.3
|
|
||||||
Discovered open port 667/tcp on 10.13.37.3
|
|
||||||
Discovered open port 27352/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1524/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1095/tcp on 10.13.37.3
|
|
||||||
Discovered open port 2288/tcp on 10.13.37.3
|
|
||||||
Discovered open port 15004/tcp on 10.13.37.3
|
|
||||||
Discovered open port 6100/tcp on 10.13.37.3
|
|
||||||
Discovered open port 9081/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1104/tcp on 10.13.37.3
|
|
||||||
Discovered open port 548/tcp on 10.13.37.3
|
|
||||||
Discovered open port 4004/tcp on 10.13.37.3
|
|
||||||
Discovered open port 2119/tcp on 10.13.37.3
|
|
||||||
Discovered open port 3551/tcp on 10.13.37.3
|
|
||||||
Discovered open port 49153/tcp on 10.13.37.3
|
|
||||||
Discovered open port 5500/tcp on 10.13.37.3
|
|
||||||
Discovered open port 5555/tcp on 10.13.37.3
|
|
||||||
Discovered open port 32774/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1755/tcp on 10.13.37.3
|
|
||||||
Discovered open port 616/tcp on 10.13.37.3
|
|
||||||
Discovered open port 8021/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1045/tcp on 10.13.37.3
|
|
||||||
Discovered open port 5051/tcp on 10.13.37.3
|
|
||||||
Discovered open port 3889/tcp on 10.13.37.3
|
|
||||||
Discovered open port 4848/tcp on 10.13.37.3
|
|
||||||
Discovered open port 7512/tcp on 10.13.37.3
|
|
||||||
Discovered open port 2701/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1183/tcp on 10.13.37.3
|
|
||||||
Discovered open port 2105/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1234/tcp on 10.13.37.3
|
|
||||||
Discovered open port 2500/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1137/tcp on 10.13.37.3
|
|
||||||
Discovered open port 5061/tcp on 10.13.37.3
|
|
||||||
Discovered open port 4443/tcp on 10.13.37.3
|
|
||||||
Discovered open port 9944/tcp on 10.13.37.3
|
|
||||||
Discovered open port 5811/tcp on 10.13.37.3
|
|
||||||
Discovered open port 5679/tcp on 10.13.37.3
|
|
||||||
Discovered open port 11110/tcp on 10.13.37.3
|
|
||||||
Discovered open port 16016/tcp on 10.13.37.3
|
|
||||||
Discovered open port 425/tcp on 10.13.37.3
|
|
||||||
Discovered open port 8300/tcp on 10.13.37.3
|
|
||||||
Discovered open port 9415/tcp on 10.13.37.3
|
|
||||||
Discovered open port 7911/tcp on 10.13.37.3
|
|
||||||
Discovered open port 8100/tcp on 10.13.37.3
|
|
||||||
Discovered open port 52673/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1096/tcp on 10.13.37.3
|
|
||||||
Discovered open port 7777/tcp on 10.13.37.3
|
|
||||||
Discovered open port 3801/tcp on 10.13.37.3
|
|
||||||
Discovered open port 32784/tcp on 10.13.37.3
|
|
||||||
Discovered open port 3404/tcp on 10.13.37.3
|
|
||||||
Discovered open port 9050/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1056/tcp on 10.13.37.3
|
|
||||||
Discovered open port 5815/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1583/tcp on 10.13.37.3
|
|
||||||
Discovered open port 7625/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1185/tcp on 10.13.37.3
|
|
||||||
Discovered open port 27353/tcp on 10.13.37.3
|
|
||||||
Discovered open port 6001/tcp on 10.13.37.3
|
|
||||||
Discovered open port 42510/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1047/tcp on 10.13.37.3
|
|
||||||
Discovered open port 100/tcp on 10.13.37.3
|
|
||||||
Discovered open port 6059/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1002/tcp on 10.13.37.3
|
|
||||||
Discovered open port 3324/tcp on 10.13.37.3
|
|
||||||
Discovered open port 3390/tcp on 10.13.37.3
|
|
||||||
Discovered open port 9666/tcp on 10.13.37.3
|
|
||||||
Discovered open port 5988/tcp on 10.13.37.3
|
|
||||||
Discovered open port 4003/tcp on 10.13.37.3
|
|
||||||
Discovered open port 179/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1080/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1217/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1041/tcp on 10.13.37.3
|
|
||||||
Discovered open port 65129/tcp on 10.13.37.3
|
|
||||||
Discovered open port 2605/tcp on 10.13.37.3
|
|
||||||
Discovered open port 4129/tcp on 10.13.37.3
|
|
||||||
Discovered open port 2041/tcp on 10.13.37.3
|
|
||||||
Discovered open port 6025/tcp on 10.13.37.3
|
|
||||||
Discovered open port 5225/tcp on 10.13.37.3
|
|
||||||
Discovered open port 10778/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1052/tcp on 10.13.37.3
|
|
||||||
Discovered open port 32782/tcp on 10.13.37.3
|
|
||||||
Discovered open port 5902/tcp on 10.13.37.3
|
|
||||||
Discovered open port 6881/tcp on 10.13.37.3
|
|
||||||
Discovered open port 125/tcp on 10.13.37.3
|
|
||||||
Discovered open port 2702/tcp on 10.13.37.3
|
|
||||||
Discovered open port 514/tcp on 10.13.37.3
|
|
||||||
Discovered open port 16001/tcp on 10.13.37.3
|
|
||||||
Discovered open port 7103/tcp on 10.13.37.3
|
|
||||||
Discovered open port 7402/tcp on 10.13.37.3
|
|
||||||
Discovered open port 7938/tcp on 10.13.37.3
|
|
||||||
Discovered open port 10024/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1164/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1027/tcp on 10.13.37.3
|
|
||||||
Discovered open port 6839/tcp on 10.13.37.3
|
|
||||||
Discovered open port 2522/tcp on 10.13.37.3
|
|
||||||
Discovered open port 3011/tcp on 10.13.37.3
|
|
||||||
Discovered open port 8011/tcp on 10.13.37.3
|
|
||||||
Discovered open port 2800/tcp on 10.13.37.3
|
|
||||||
Discovered open port 18101/tcp on 10.13.37.3
|
|
||||||
Discovered open port 32777/tcp on 10.13.37.3
|
|
||||||
Discovered open port 34573/tcp on 10.13.37.3
|
|
||||||
Discovered open port 16113/tcp on 10.13.37.3
|
|
||||||
Discovered open port 2144/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1108/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1301/tcp on 10.13.37.3
|
|
||||||
Discovered open port 5950/tcp on 10.13.37.3
|
|
||||||
Discovered open port 7001/tcp on 10.13.37.3
|
|
||||||
Discovered open port 99/tcp on 10.13.37.3
|
|
||||||
Discovered open port 5432/tcp on 10.13.37.3
|
|
||||||
Discovered open port 259/tcp on 10.13.37.3
|
|
||||||
Discovered open port 3371/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1097/tcp on 10.13.37.3
|
|
||||||
Discovered open port 2021/tcp on 10.13.37.3
|
|
||||||
Discovered open port 8383/tcp on 10.13.37.3
|
|
||||||
Discovered open port 2492/tcp on 10.13.37.3
|
|
||||||
Discovered open port 3827/tcp on 10.13.37.3
|
|
||||||
Discovered open port 81/tcp on 10.13.37.3
|
|
||||||
Discovered open port 8087/tcp on 10.13.37.3
|
|
||||||
Discovered open port 458/tcp on 10.13.37.3
|
|
||||||
Discovered open port 2040/tcp on 10.13.37.3
|
|
||||||
Discovered open port 5850/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1658/tcp on 10.13.37.3
|
|
||||||
Discovered open port 711/tcp on 10.13.37.3
|
|
||||||
Discovered open port 10243/tcp on 10.13.37.3
|
|
||||||
Discovered open port 3077/tcp on 10.13.37.3
|
|
||||||
Discovered open port 444/tcp on 10.13.37.3
|
|
||||||
Discovered open port 89/tcp on 10.13.37.3
|
|
||||||
Discovered open port 2557/tcp on 10.13.37.3
|
|
||||||
Discovered open port 6666/tcp on 10.13.37.3
|
|
||||||
Discovered open port 481/tcp on 10.13.37.3
|
|
||||||
Discovered open port 5922/tcp on 10.13.37.3
|
|
||||||
Discovered open port 3260/tcp on 10.13.37.3
|
|
||||||
Discovered open port 3880/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1086/tcp on 10.13.37.3
|
|
||||||
Discovered open port 2200/tcp on 10.13.37.3
|
|
||||||
Discovered open port 55055/tcp on 10.13.37.3
|
|
||||||
Discovered open port 843/tcp on 10.13.37.3
|
|
||||||
Discovered open port 6668/tcp on 10.13.37.3
|
|
||||||
Discovered open port 366/tcp on 10.13.37.3
|
|
||||||
Discovered open port 5001/tcp on 10.13.37.3
|
|
||||||
Discovered open port 6101/tcp on 10.13.37.3
|
|
||||||
Discovered open port 406/tcp on 10.13.37.3
|
|
||||||
Discovered open port 44176/tcp on 10.13.37.3
|
|
||||||
Discovered open port 5678/tcp on 10.13.37.3
|
|
||||||
Discovered open port 2100/tcp on 10.13.37.3
|
|
||||||
Discovered open port 5910/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1443/tcp on 10.13.37.3
|
|
||||||
Discovered open port 5120/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1310/tcp on 10.13.37.3
|
|
||||||
Discovered open port 4/tcp on 10.13.37.3
|
|
||||||
Discovered open port 4567/tcp on 10.13.37.3
|
|
||||||
Discovered open port 5431/tcp on 10.13.37.3
|
|
||||||
Discovered open port 3333/tcp on 10.13.37.3
|
|
||||||
Discovered open port 2910/tcp on 10.13.37.3
|
|
||||||
Discovered open port 45100/tcp on 10.13.37.3
|
|
||||||
Discovered open port 563/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1213/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1029/tcp on 10.13.37.3
|
|
||||||
Discovered open port 65389/tcp on 10.13.37.3
|
|
||||||
Discovered open port 8500/tcp on 10.13.37.3
|
|
||||||
Discovered open port 49158/tcp on 10.13.37.3
|
|
||||||
Discovered open port 2103/tcp on 10.13.37.3
|
|
||||||
Discovered open port 5566/tcp on 10.13.37.3
|
|
||||||
Discovered open port 4126/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1580/tcp on 10.13.37.3
|
|
||||||
Discovered open port 52822/tcp on 10.13.37.3
|
|
||||||
Discovered open port 5060/tcp on 10.13.37.3
|
|
||||||
Discovered open port 2967/tcp on 10.13.37.3
|
|
||||||
Discovered open port 3914/tcp on 10.13.37.3
|
|
||||||
Discovered open port 3323/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1296/tcp on 10.13.37.3
|
|
||||||
Discovered open port 2920/tcp on 10.13.37.3
|
|
||||||
Discovered open port 8193/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1131/tcp on 10.13.37.3
|
|
||||||
Discovered open port 800/tcp on 10.13.37.3
|
|
||||||
Discovered open port 20828/tcp on 10.13.37.3
|
|
||||||
Discovered open port 8899/tcp on 10.13.37.3
|
|
||||||
Discovered open port 52869/tcp on 10.13.37.3
|
|
||||||
Discovered open port 9111/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1074/tcp on 10.13.37.3
|
|
||||||
Discovered open port 14442/tcp on 10.13.37.3
|
|
||||||
Discovered open port 9040/tcp on 10.13.37.3
|
|
||||||
Discovered open port 5633/tcp on 10.13.37.3
|
|
||||||
Discovered open port 49155/tcp on 10.13.37.3
|
|
||||||
Discovered open port 8009/tcp on 10.13.37.3
|
|
||||||
Discovered open port 6580/tcp on 10.13.37.3
|
|
||||||
Discovered open port 20221/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1328/tcp on 10.13.37.3
|
|
||||||
Discovered open port 9002/tcp on 10.13.37.3
|
|
||||||
Discovered open port 6646/tcp on 10.13.37.3
|
|
||||||
Discovered open port 5963/tcp on 10.13.37.3
|
|
||||||
Discovered open port 40911/tcp on 10.13.37.3
|
|
||||||
Discovered open port 8652/tcp on 10.13.37.3
|
|
||||||
Discovered open port 880/tcp on 10.13.37.3
|
|
||||||
Discovered open port 10626/tcp on 10.13.37.3
|
|
||||||
Discovered open port 407/tcp on 10.13.37.3
|
|
||||||
Discovered open port 12345/tcp on 10.13.37.3
|
|
||||||
Discovered open port 2401/tcp on 10.13.37.3
|
|
||||||
Discovered open port 7007/tcp on 10.13.37.3
|
|
||||||
Discovered open port 4998/tcp on 10.13.37.3
|
|
||||||
Discovered open port 720/tcp on 10.13.37.3
|
|
||||||
Discovered open port 7000/tcp on 10.13.37.3
|
|
||||||
Discovered open port 16993/tcp on 10.13.37.3
|
|
||||||
Discovered open port 21571/tcp on 10.13.37.3
|
|
||||||
Discovered open port 5907/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1687/tcp on 10.13.37.3
|
|
||||||
Discovered open port 30000/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1083/tcp on 10.13.37.3
|
|
||||||
Discovered open port 9000/tcp on 10.13.37.3
|
|
||||||
Discovered open port 787/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1113/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1839/tcp on 10.13.37.3
|
|
||||||
Discovered open port 17877/tcp on 10.13.37.3
|
|
||||||
Discovered open port 15003/tcp on 10.13.37.3
|
|
||||||
Discovered open port 4444/tcp on 10.13.37.3
|
|
||||||
Discovered open port 30/tcp on 10.13.37.3
|
|
||||||
Discovered open port 280/tcp on 10.13.37.3
|
|
||||||
Discovered open port 10003/tcp on 10.13.37.3
|
|
||||||
Discovered open port 43/tcp on 10.13.37.3
|
|
||||||
Discovered open port 6346/tcp on 10.13.37.3
|
|
||||||
Discovered open port 50006/tcp on 10.13.37.3
|
|
||||||
Discovered open port 3000/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1087/tcp on 10.13.37.3
|
|
||||||
Discovered open port 106/tcp on 10.13.37.3
|
|
||||||
Discovered open port 2160/tcp on 10.13.37.3
|
|
||||||
Discovered open port 8088/tcp on 10.13.37.3
|
|
||||||
Discovered open port 8873/tcp on 10.13.37.3
|
|
||||||
Discovered open port 3369/tcp on 10.13.37.3
|
|
||||||
Discovered open port 5102/tcp on 10.13.37.3
|
|
||||||
Discovered open port 27715/tcp on 10.13.37.3
|
|
||||||
Discovered open port 5298/tcp on 10.13.37.3
|
|
||||||
Discovered open port 32773/tcp on 10.13.37.3
|
|
||||||
Discovered open port 163/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1082/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1070/tcp on 10.13.37.3
|
|
||||||
Discovered open port 3869/tcp on 10.13.37.3
|
|
||||||
Discovered open port 5004/tcp on 10.13.37.3
|
|
||||||
Discovered open port 13783/tcp on 10.13.37.3
|
|
||||||
Discovered open port 4321/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1501/tcp on 10.13.37.3
|
|
||||||
Discovered open port 2009/tcp on 10.13.37.3
|
|
||||||
Discovered open port 3878/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1065/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1049/tcp on 10.13.37.3
|
|
||||||
Discovered open port 32769/tcp on 10.13.37.3
|
|
||||||
Discovered open port 9877/tcp on 10.13.37.3
|
|
||||||
Discovered open port 19780/tcp on 10.13.37.3
|
|
||||||
Discovered open port 3703/tcp on 10.13.37.3
|
|
||||||
Discovered open port 27356/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1864/tcp on 10.13.37.3
|
|
||||||
Discovered open port 6566/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1186/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1149/tcp on 10.13.37.3
|
|
||||||
Discovered open port 37/tcp on 10.13.37.3
|
|
||||||
Discovered open port 8086/tcp on 10.13.37.3
|
|
||||||
Discovered open port 5101/tcp on 10.13.37.3
|
|
||||||
Discovered open port 5631/tcp on 10.13.37.3
|
|
||||||
Discovered open port 3517/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1947/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1059/tcp on 10.13.37.3
|
|
||||||
Discovered open port 5730/tcp on 10.13.37.3
|
|
||||||
Discovered open port 119/tcp on 10.13.37.3
|
|
||||||
Discovered open port 2048/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1079/tcp on 10.13.37.3
|
|
||||||
Discovered open port 2525/tcp on 10.13.37.3
|
|
||||||
Discovered open port 5510/tcp on 10.13.37.3
|
|
||||||
Discovered open port 10629/tcp on 10.13.37.3
|
|
||||||
Discovered open port 24444/tcp on 10.13.37.3
|
|
||||||
Discovered open port 6692/tcp on 10.13.37.3
|
|
||||||
Discovered open port 3659/tcp on 10.13.37.3
|
|
||||||
Discovered open port 3995/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1311/tcp on 10.13.37.3
|
|
||||||
Discovered open port 5666/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1216/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1122/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1503/tcp on 10.13.37.3
|
|
||||||
Discovered open port 161/tcp on 10.13.37.3
|
|
||||||
Discovered open port 3689/tcp on 10.13.37.3
|
|
||||||
Discovered open port 801/tcp on 10.13.37.3
|
|
||||||
Discovered open port 6005/tcp on 10.13.37.3
|
|
||||||
Discovered open port 999/tcp on 10.13.37.3
|
|
||||||
Discovered open port 900/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1641/tcp on 10.13.37.3
|
|
||||||
Discovered open port 2399/tcp on 10.13.37.3
|
|
||||||
Discovered open port 146/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1700/tcp on 10.13.37.3
|
|
||||||
Discovered open port 9535/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1984/tcp on 10.13.37.3
|
|
||||||
Discovered open port 992/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1247/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1089/tcp on 10.13.37.3
|
|
||||||
Discovered open port 50800/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1024/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1974/tcp on 10.13.37.3
|
|
||||||
Discovered open port 783/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1174/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1863/tcp on 10.13.37.3
|
|
||||||
Discovered open port 3809/tcp on 10.13.37.3
|
|
||||||
Discovered open port 9110/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1063/tcp on 10.13.37.3
|
|
||||||
Discovered open port 2323/tcp on 10.13.37.3
|
|
||||||
Discovered open port 7106/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1971/tcp on 10.13.37.3
|
|
||||||
Discovered open port 3851/tcp on 10.13.37.3
|
|
||||||
Discovered open port 3325/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1043/tcp on 10.13.37.3
|
|
||||||
Discovered open port 981/tcp on 10.13.37.3
|
|
||||||
Discovered open port 3005/tcp on 10.13.37.3
|
|
||||||
Discovered open port 51493/tcp on 10.13.37.3
|
|
||||||
Discovered open port 7443/tcp on 10.13.37.3
|
|
||||||
Discovered open port 16080/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1069/tcp on 10.13.37.3
|
|
||||||
Discovered open port 6002/tcp on 10.13.37.3
|
|
||||||
Discovered open port 18988/tcp on 10.13.37.3
|
|
||||||
Discovered open port 4005/tcp on 10.13.37.3
|
|
||||||
Discovered open port 50636/tcp on 10.13.37.3
|
|
||||||
Discovered open port 5200/tcp on 10.13.37.3
|
|
||||||
Discovered open port 3003/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1801/tcp on 10.13.37.3
|
|
||||||
Discovered open port 5544/tcp on 10.13.37.3
|
|
||||||
Discovered open port 9898/tcp on 10.13.37.3
|
|
||||||
Discovered open port 6788/tcp on 10.13.37.3
|
|
||||||
Discovered open port 3030/tcp on 10.13.37.3
|
|
||||||
Discovered open port 2602/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1138/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1434/tcp on 10.13.37.3
|
|
||||||
Discovered open port 10000/tcp on 10.13.37.3
|
|
||||||
Discovered open port 8082/tcp on 10.13.37.3
|
|
||||||
Discovered open port 32779/tcp on 10.13.37.3
|
|
||||||
Discovered open port 5414/tcp on 10.13.37.3
|
|
||||||
Discovered open port 10010/tcp on 10.13.37.3
|
|
||||||
Discovered open port 24/tcp on 10.13.37.3
|
|
||||||
Discovered open port 13782/tcp on 10.13.37.3
|
|
||||||
Discovered open port 6004/tcp on 10.13.37.3
|
|
||||||
Discovered open port 20005/tcp on 10.13.37.3
|
|
||||||
Discovered open port 10009/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1334/tcp on 10.13.37.3
|
|
||||||
Discovered open port 9943/tcp on 10.13.37.3
|
|
||||||
Discovered open port 5925/tcp on 10.13.37.3
|
|
||||||
Discovered open port 79/tcp on 10.13.37.3
|
|
||||||
Discovered open port 55056/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1023/tcp on 10.13.37.3
|
|
||||||
Discovered open port 15002/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1972/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1107/tcp on 10.13.37.3
|
|
||||||
Discovered open port 13456/tcp on 10.13.37.3
|
|
||||||
Discovered open port 3828/tcp on 10.13.37.3
|
|
||||||
Discovered open port 2196/tcp on 10.13.37.3
|
|
||||||
Discovered open port 5802/tcp on 10.13.37.3
|
|
||||||
Discovered open port 6567/tcp on 10.13.37.3
|
|
||||||
Discovered open port 340/tcp on 10.13.37.3
|
|
||||||
Discovered open port 545/tcp on 10.13.37.3
|
|
||||||
Discovered open port 5825/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1076/tcp on 10.13.37.3
|
|
||||||
Discovered open port 7921/tcp on 10.13.37.3
|
|
||||||
Discovered open port 20031/tcp on 10.13.37.3
|
|
||||||
Discovered open port 57797/tcp on 10.13.37.3
|
|
||||||
Discovered open port 987/tcp on 10.13.37.3
|
|
||||||
Discovered open port 2001/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1102/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1556/tcp on 10.13.37.3
|
|
||||||
Discovered open port 8291/tcp on 10.13.37.3
|
|
||||||
Discovered open port 3905/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1026/tcp on 10.13.37.3
|
|
||||||
Discovered open port 10025/tcp on 10.13.37.3
|
|
||||||
Discovered open port 8994/tcp on 10.13.37.3
|
|
||||||
Discovered open port 6003/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1072/tcp on 10.13.37.3
|
|
||||||
Discovered open port 49176/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1039/tcp on 10.13.37.3
|
|
||||||
Discovered open port 668/tcp on 10.13.37.3
|
|
||||||
Discovered open port 691/tcp on 10.13.37.3
|
|
||||||
Discovered open port 52848/tcp on 10.13.37.3
|
|
||||||
Discovered open port 50001/tcp on 10.13.37.3
|
|
||||||
Discovered open port 255/tcp on 10.13.37.3
|
|
||||||
Discovered open port 23502/tcp on 10.13.37.3
|
|
||||||
Discovered open port 60020/tcp on 10.13.37.3
|
|
||||||
Discovered open port 8099/tcp on 10.13.37.3
|
|
||||||
Discovered open port 33899/tcp on 10.13.37.3
|
|
||||||
Discovered open port 4125/tcp on 10.13.37.3
|
|
||||||
Discovered open port 5030/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1461/tcp on 10.13.37.3
|
|
||||||
Discovered open port 25735/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1998/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1111/tcp on 10.13.37.3
|
|
||||||
Discovered open port 32771/tcp on 10.13.37.3
|
|
||||||
Discovered open port 64623/tcp on 10.13.37.3
|
|
||||||
Discovered open port 34572/tcp on 10.13.37.3
|
|
||||||
Discovered open port 6106/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1277/tcp on 10.13.37.3
|
|
||||||
Discovered open port 3370/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1165/tcp on 10.13.37.3
|
|
||||||
Discovered open port 35500/tcp on 10.13.37.3
|
|
||||||
Discovered open port 17/tcp on 10.13.37.3
|
|
||||||
Discovered open port 6901/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1091/tcp on 10.13.37.3
|
|
||||||
Discovered open port 666/tcp on 10.13.37.3
|
|
||||||
Discovered open port 9200/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1035/tcp on 10.13.37.3
|
|
||||||
Discovered open port 8085/tcp on 10.13.37.3
|
|
||||||
Discovered open port 3784/tcp on 10.13.37.3
|
|
||||||
Discovered open port 901/tcp on 10.13.37.3
|
|
||||||
Discovered open port 5987/tcp on 10.13.37.3
|
|
||||||
Discovered open port 34571/tcp on 10.13.37.3
|
|
||||||
Discovered open port 10004/tcp on 10.13.37.3
|
|
||||||
Discovered open port 2049/tcp on 10.13.37.3
|
|
||||||
Discovered open port 254/tcp on 10.13.37.3
|
|
||||||
Discovered open port 5999/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1112/tcp on 10.13.37.3
|
|
||||||
Discovered open port 2191/tcp on 10.13.37.3
|
|
||||||
Discovered open port 264/tcp on 10.13.37.3
|
|
||||||
Discovered open port 5960/tcp on 10.13.37.3
|
|
||||||
Discovered open port 6006/tcp on 10.13.37.3
|
|
||||||
Discovered open port 4550/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1721/tcp on 10.13.37.3
|
|
||||||
Discovered open port 3017/tcp on 10.13.37.3
|
|
||||||
Discovered open port 26/tcp on 10.13.37.3
|
|
||||||
Discovered open port 18040/tcp on 10.13.37.3
|
|
||||||
Discovered open port 6156/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1078/tcp on 10.13.37.3
|
|
||||||
Discovered open port 2121/tcp on 10.13.37.3
|
|
||||||
Discovered open port 4006/tcp on 10.13.37.3
|
|
||||||
Discovered open port 14000/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1093/tcp on 10.13.37.3
|
|
||||||
Discovered open port 2047/tcp on 10.13.37.3
|
|
||||||
Discovered open port 3971/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1/tcp on 10.13.37.3
|
|
||||||
Discovered open port 8290/tcp on 10.13.37.3
|
|
||||||
Discovered open port 631/tcp on 10.13.37.3
|
|
||||||
Discovered open port 464/tcp on 10.13.37.3
|
|
||||||
Discovered open port 7937/tcp on 10.13.37.3
|
|
||||||
Discovered open port 6389/tcp on 10.13.37.3
|
|
||||||
Discovered open port 7002/tcp on 10.13.37.3
|
|
||||||
Discovered open port 9878/tcp on 10.13.37.3
|
|
||||||
Discovered open port 8649/tcp on 10.13.37.3
|
|
||||||
Discovered open port 3580/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1088/tcp on 10.13.37.3
|
|
||||||
Discovered open port 3168/tcp on 10.13.37.3
|
|
||||||
Discovered open port 3221/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1812/tcp on 10.13.37.3
|
|
||||||
Discovered open port 465/tcp on 10.13.37.3
|
|
||||||
Discovered open port 9593/tcp on 10.13.37.3
|
|
||||||
Discovered open port 44443/tcp on 10.13.37.3
|
|
||||||
Discovered open port 6007/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1145/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1121/tcp on 10.13.37.3
|
|
||||||
Discovered open port 4002/tcp on 10.13.37.3
|
|
||||||
Discovered open port 63331/tcp on 10.13.37
|
|
||||||
.3
|
|
||||||
Discovered open port 5405/tcp on 10.13.37.3
|
|
||||||
Discovered open port 19101/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1036/tcp on 10.13.37.3
|
|
||||||
Discovered open port 2003/tcp on 10.13.37.3
|
|
||||||
Discovered open port 1119/tcp on 10.13.37.3
|
|
||||||
Completed Connect Scan at 21:01, 8.04s elapsed (1000 total ports)
|
|
||||||
Initiating Service scan at 21:01
|
|
||||||
Scanning 708 services on 10.13.37.3
|
|
||||||
```
|
|
||||||
|
|
||||||
# routing traffic to ghostport
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
INTERFACE="eth0" # change to your interface
|
./target/release/ghostport -s signatures.txt -l 0.0.0.0:8888 -v
|
||||||
|
```
|
||||||
|
|
||||||
|
Run with debug logging:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
./target/release/ghostport -s signatures.txt -d
|
||||||
|
```
|
||||||
|
|
||||||
|
## Signature File Format
|
||||||
|
|
||||||
|
The signature file should contain one signature per line. Signatures can be raw text or regex patterns. For example:
|
||||||
|
|
||||||
|
```
|
||||||
|
HTTP/1.1 200 OK\r\nServer: Apache/2.4.41 (Unix)\r\n
|
||||||
|
SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.1
|
||||||
|
220 (vsFTPd 3.0.3)
|
||||||
|
```
|
||||||
|
for more examples, see the [signatures](signatures.txt) file.
|
||||||
|
|
||||||
|
## Routing Traffic to Ghostport
|
||||||
|
|
||||||
|
To redirect all incoming TCP traffic to Ghostport, you can use iptables. This will allow Ghostport to respond to connections on any port, effectively spoofing all services:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
|
||||||
|
INTERFACE="eth0" # change to your network interface
|
||||||
|
|
||||||
iptables -t nat -A PREROUTING -i $INTERFACE -p tcp -m tcp -m multiport --dports 1:65535 -j REDIRECT --to-ports 8888
|
iptables -t nat -A PREROUTING -i $INTERFACE -p tcp -m tcp -m multiport --dports 1:65535 -j REDIRECT --to-ports 8888
|
||||||
|
|
||||||
```
|
```
|
||||||
this will redirect all traffic to ghostport on port 8888 rotating the signatures
|
|
||||||
|
|
||||||
|
This command will redirect all TCP traffic on ports 1-65535 to port 8888, where Ghostport is listening. Make sure to replace "eth0" with your actual network interface.
|
||||||
|
|
||||||
|
> [!NOTE]
|
||||||
|
> This requires root privileges and will affect all incoming TCP connections on the specified interface. Use with caution, especially on production systems.
|
||||||
|
|
||||||
# signatures
|
To remove this rule:
|
||||||
signatures are in the todo list
|
|
||||||
we need to parse regex and give random responses on regex matches
|
|
||||||
|
|
||||||
|
```bash
|
||||||
|
|
||||||
|
iptables -t nat -D PREROUTING -i $INTERFACE -p tcp -m tcp -m multiport --dports 1:65535 -j REDIRECT --to-ports 8888
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
## Contributing
|
||||||
|
|
||||||
|
Contributions are welcome! Please feel free to submit a Pull Request.
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
This project is licensed under the GNU License - see the [LICENSE](LICENSE) file for details.
|
||||||
|
|
||||||
|
## Acknowledgments
|
||||||
|
|
||||||
|
- Inspired by the original [portspoof project](https://github.com/drk1wi/portspoof)
|
||||||
|
- Built with Rust and Tokio
|
||||||
|
32
src/main.rs
32
src/main.rs
@ -3,6 +3,7 @@ use rand::seq::SliceRandom;
|
|||||||
use tokio::net::TcpListener;
|
use tokio::net::TcpListener;
|
||||||
use tokio::io::AsyncWriteExt;
|
use tokio::io::AsyncWriteExt;
|
||||||
use tracing::{debug, error, info, Level};
|
use tracing::{debug, error, info, Level};
|
||||||
|
use tracing_subscriber::FmtSubscriber;
|
||||||
|
|
||||||
mod cli;
|
mod cli;
|
||||||
mod handler;
|
mod handler;
|
||||||
@ -12,14 +13,24 @@ use handler::{generate_payload, parse_signatures};
|
|||||||
|
|
||||||
#[tokio::main]
|
#[tokio::main]
|
||||||
async fn main() -> anyhow::Result<()> {
|
async fn main() -> anyhow::Result<()> {
|
||||||
// Setup logger
|
|
||||||
tracing_subscriber::fmt()
|
|
||||||
.without_time()
|
|
||||||
.with_max_level(Level::DEBUG)
|
|
||||||
.init();
|
|
||||||
|
|
||||||
// Parse CLI
|
// Parse CLI
|
||||||
let cli = Cli::parse();
|
let cli = Cli::parse();
|
||||||
|
|
||||||
|
// Setup logger
|
||||||
|
let subscriber = FmtSubscriber::builder()
|
||||||
|
.with_max_level(if cli.debug {
|
||||||
|
Level::DEBUG
|
||||||
|
} else if cli.verbose {
|
||||||
|
Level::INFO
|
||||||
|
} else {
|
||||||
|
Level::ERROR
|
||||||
|
})
|
||||||
|
.without_time()
|
||||||
|
.finish();
|
||||||
|
|
||||||
|
tracing::subscriber::set_global_default(subscriber)
|
||||||
|
.expect("setting default subscriber failed");
|
||||||
|
|
||||||
debug!("Parsed CLI flags");
|
debug!("Parsed CLI flags");
|
||||||
|
|
||||||
// Read signatures file
|
// Read signatures file
|
||||||
@ -30,7 +41,7 @@ async fn main() -> anyhow::Result<()> {
|
|||||||
return Err(e);
|
return Err(e);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
//debug!("Read {} signatures", signatures.len());
|
debug!("Read {} signatures", signatures.len());
|
||||||
|
|
||||||
let listener = TcpListener::bind(&cli.listen).await?;
|
let listener = TcpListener::bind(&cli.listen).await?;
|
||||||
info!("Started listener on {}", cli.listen);
|
info!("Started listener on {}", cli.listen);
|
||||||
@ -38,11 +49,7 @@ async fn main() -> anyhow::Result<()> {
|
|||||||
loop {
|
loop {
|
||||||
// Accept connection
|
// Accept connection
|
||||||
let (mut stream, address) = listener.accept().await?;
|
let (mut stream, address) = listener.accept().await?;
|
||||||
if cli.debug {
|
|
||||||
debug!("Accepted connection from {}", address);
|
debug!("Accepted connection from {}", address);
|
||||||
} else if cli.verbose {
|
|
||||||
info!("Accepted connection from {}", address);
|
|
||||||
}
|
|
||||||
|
|
||||||
let sigs = signatures.clone();
|
let sigs = signatures.clone();
|
||||||
let cli_clone = cli.clone();
|
let cli_clone = cli.clone();
|
||||||
@ -58,14 +65,13 @@ async fn main() -> anyhow::Result<()> {
|
|||||||
// Write payload
|
// Write payload
|
||||||
match stream.write_all(&payload).await {
|
match stream.write_all(&payload).await {
|
||||||
Ok(()) => {
|
Ok(()) => {
|
||||||
if cli_clone.debug {
|
|
||||||
debug!(
|
debug!(
|
||||||
"Sent payload to {}: {:?} ({} bytes)",
|
"Sent payload to {}: {:?} ({} bytes)",
|
||||||
address,
|
address,
|
||||||
String::from_utf8_lossy(&payload),
|
String::from_utf8_lossy(&payload),
|
||||||
payload.len()
|
payload.len()
|
||||||
);
|
);
|
||||||
} else if cli_clone.verbose {
|
if cli_clone.verbose {
|
||||||
info!("Sent payload ({} bytes) to {}", payload.len(), address);
|
info!("Sent payload ({} bytes) to {}", payload.len(), address);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user