postrequest / link Goto Github PK
View Code? Open in Web Editor NEWlink is a command and control framework written in rust
License: GNU Affero General Public License v3.0
link is a command and control framework written in rust
License: GNU Affero General Public License v3.0
Why does it display "no such file or directory (OS error 2)" and "could not find DLL"?
virtual-machine:~/link$ ./link
.-') _ .-. .-')
( OO ) ) \ ( OO )
,--. ,-.-') ,--./ ,--,' ,--. ,--.
| |.-') | |OO) | \ | |\ | .' /
| | OO ) | | \ | | | ) | /,
| |-' | | |(_/ | . |/ | ' _) (| '---.' ,| |_.' | |\ | | . \ | | (_| | | | \ | | |\ \
------' --'
--' --'
--' '--'
Start web server (Y/n)? Y
starting server
Please provide bind address (eg: 0.0.0.0:443): 0.0.0.0:8443
π > generate 0.0.0.0:8443
please wait...
link successfully built
No such file or directory (os error 2)
No such file or directory (os error 2)
Could not find DLL
=================================================================
virtual-machine:~/link$ cargo build --release --target x86_64-pc-windows-gnu
Compiling openssl-sys v0.9.80
Compiling serde v1.0.154
error: failed to run custom build command for openssl-sys v0.9.80
Caused by:
process didn't exit successfully: /link/target/release/build/openssl-sys-f925c2be46c076e2/build-script-main
(exit status: 101)
--- stdout
cargo:rustc-cfg=const_fn
cargo:rustc-cfg=openssl
cargo:rerun-if-env-changed=X86_64_PC_WINDOWS_GNU_OPENSSL_LIB_DIR
X86_64_PC_WINDOWS_GNU_OPENSSL_LIB_DIR unset
cargo:rerun-if-env-changed=OPENSSL_LIB_DIR
OPENSSL_LIB_DIR unset
cargo:rerun-if-env-changed=X86_64_PC_WINDOWS_GNU_OPENSSL_INCLUDE_DIR
X86_64_PC_WINDOWS_GNU_OPENSSL_INCLUDE_DIR unset
cargo:rerun-if-env-changed=OPENSSL_INCLUDE_DIR
OPENSSL_INCLUDE_DIR unset
cargo:rerun-if-env-changed=X86_64_PC_WINDOWS_GNU_OPENSSL_DIR
X86_64_PC_WINDOWS_GNU_OPENSSL_DIR unset
cargo:rerun-if-env-changed=OPENSSL_DIR
OPENSSL_DIR unset
--- stderr
thread 'main' panicked at '
Could not find directory of OpenSSL installation, and this -sys
crate cannot
proceed without this knowledge. If OpenSSL is installed and this crate had
trouble finding it, you can set the OPENSSL_DIR
environment variable for the
compilation process.
Make sure you also have the development packages of openssl installed.
For example, libssl-dev
on Ubuntu or openssl-devel
on Fedora.
If you're in a situation where you think the directory should be found
automatically, please open a bug at https://github.com/sfackler/rust-openssl
and include information about your system as well as this message.
$HOST = x86_64-unknown-linux-gnu
$TARGET = x86_64-pc-windows-gnu
openssl-sys = 0.9.80
', /.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-sys-0.9.80/build/find_normal.rs:191:5
note: run with RUST_BACKTRACE=1
environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
I have this issue on macOS, Kali, CentOS
Please provide bind address (eg: 0.0.0.0:443): 0.0.0.0:443
thread '' panicked at 'called Result::unwrap()
on an Err
value: ErrorStack([Error { code: 33558530, library: "system library", function: "fopen", reason: "No such file or directory", file: "../crypto/bio/bss_file.c", line: 288, data: "fopen('cert/key.pem','r')" }, Error { code: 537346050, library: "BIO routines", function: "file_ctrl", reason: "system lib", file: "../crypto/bio/bss_file.c", line: 290 }, Error { code: 336265218, library: "SSL routines", function: "SSL_CTX_use_PrivateKey_file", reason: "system lib", file: "../ssl/ssl_rsa.c", line: 521 }])', src/server/spawn.rs:34:14
`root@CzTeam:~/LinkAkihi/link-main# ./target/release/link
.-') _ .-. .-')
( OO ) ) \ ( OO )
,--. ,-.-') ,--./ ,--,' ,--. ,--.
| |.-') | |OO) | \ | |\ | .' /
| | OO ) | | \ | | | ) | /,
| |-' | | |(_/ | . |/ | ' _) (| '---.' ,| |_.' | |\ | | . \ | | (_| | | | \ | | |\ \
------' --'
--' --'
--' '--'
Start web server (Y/n)? y
starting server
Please provide bind address (eg: 0.0.0.0:443): γCloud server public network IPγ:19991
Could not bind to γCloud server public network IPγ:19991: Cannot assign requested address (os error 99)
`
What is the reason for this error?
After the session is acquired, the shell is executed and the program stops unexpectedly
Hi, when I try to generate a windows link I get:
> generate 10.10.10.10:8443
rustup does not have x86_64-pc-windows-gnu target, the following command may help:
rustup target add x86_64-pc-windows-gnu
However, I do. Here's my cargo config. Any tip?
$ cat .cargo/config
[target.x86_64-pc-windows-gnu]
linker = "/usr/bin/x86_64-w64-mingw32-gcc"
ar = "/usr/x86_64-w64-mingw32/bin/ar"
Thank you.
cargo not installed, the following command may help:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Hello, my local virtual machine can run this project, but VPS is suitable for Kali and cannot run. After running, it will be displayed as above
when finished all install
./link run it
it feedfack erros likeοΌ
im not use root to install it
Please provide bind address (eg: 0.0.0.0:443):
thread '' panicked at 'called Result::unwrap()
on an Err
value: ErrorStack([Error { code: 33558530, library: "system library", function: "fopen", reason: "No such file or directory", file: "../crypto/bio/bss_file.c", line: 288, data: "fopen('cert/key.pem','r')" }, Error { code: 537346050, library: "BIO routines", function: "file_ctrl", reason: "system lib", file: "../crypto/bio/bss_file.c", line: 290 }, Error { code: 336265218, library: "SSL routines", function: "SSL_CTX_use_PrivateKey_file", reason: "system lib", file: "../ssl/ssl_rsa.c", line: 521 }])', src/server/spawn.rs:34:14
note: run with RUST_BACKTRACE=1
environment variable to display a backtrace
i can't find any information from googleοΌ
thanks for your response?^_^ Have a nice day !
Hello,
Running cargo audit
against the project raises 3 vulnerabilities from dependencies:
βββ(kaliγΏkali)-[~/link]
ββ$ cargo audit
Fetching advisory database from `https://github.com/RustSec/advisory-db.git`
Loaded 461 security advisories (from /home/kali/.cargo/advisory-db)
Updating crates.io index
Scanning Cargo.lock for vulnerabilities (245 crate dependencies)
Crate: nix
Version: 0.19.1
Title: Out-of-bounds write in nix::unistd::getgrouplist
Date: 2021-09-27
ID: RUSTSEC-2021-0119
URL: https://rustsec.org/advisories/RUSTSEC-2021-0119
Solution: Upgrade to ^0.20.2 OR ^0.21.2 OR ^0.22.2 OR >=0.23.0
Dependency tree:
nix 0.19.1
βββ rustyline 7.1.0
βββ link 0.1.0
Crate: time
Version: 0.1.44
Title: Potential segfault in the time crate
Date: 2020-11-18
ID: RUSTSEC-2020-0071
URL: https://rustsec.org/advisories/RUSTSEC-2020-0071
Solution: Upgrade to >=0.2.23
Dependency tree:
time 0.1.44
βββ chrono 0.4.22
βββ link 0.1.0
Crate: tokio
Version: 0.2.25
Title: Data race when sending and receiving after closing a `oneshot` channel
Date: 2021-11-16
ID: RUSTSEC-2021-0124
URL: https://rustsec.org/advisories/RUSTSEC-2021-0124
Solution: Upgrade to >=1.8.4, <1.9.0 OR >=1.13.1
Dependency tree:
tokio 0.2.25
βββ trust-dns-resolver 0.19.7
β βββ actix-connect 2.0.0
β βββ actix-http 2.2.2
β βββ awc 2.0.3
β β βββ actix-web 3.3.3
β β βββ link 0.1.0
β βββ actix-web 3.3.3
βββ trust-dns-proto 0.19.7
β βββ trust-dns-resolver 0.19.7
β βββ actix-connect 2.0.0
βββ tokio-util 0.3.1
β βββ h2 0.2.7
β β βββ actix-http 2.2.2
β βββ actix-codec 0.3.0
β βββ awc 2.0.3
β βββ actix-web 3.3.3
β βββ actix-utils 2.0.0
β β βββ actix-web 3.3.3
β β βββ actix-tls 2.0.0
β β β βββ actix-web 3.3.3
β β β βββ actix-http 2.2.2
β β βββ actix-server 1.0.4
β β β βββ actix-web 3.3.3
β β β βββ actix-testing 1.0.1
β β β βββ actix-web 3.3.3
β β βββ actix-http 2.2.2
β β βββ actix-connect 2.0.0
β βββ actix-tls 2.0.0
β βββ actix-server 1.0.4
β βββ actix-http 2.2.2
β βββ actix-connect 2.0.0
βββ tokio-openssl 0.4.0
β βββ actix-tls 2.0.0
β βββ actix-connect 2.0.0
βββ h2 0.2.7
βββ actix-rt 1.1.1
β βββ awc 2.0.3
β βββ actix-web 3.3.3
β βββ actix-utils 2.0.0
β βββ actix-testing 1.0.1
β βββ actix-server 1.0.4
β βββ actix-http 2.2.2
β βββ actix-connect 2.0.0
βββ actix-codec 0.3.0
Crate: net2
Version: 0.2.37
Warning: unmaintained
Title: `net2` crate has been deprecated; use `socket2` instead
Date: 2020-05-01
ID: RUSTSEC-2020-0016
URL: https://rustsec.org/advisories/RUSTSEC-2020-0016
Dependency tree:
net2 0.2.37
βββ miow 0.2.2
β βββ mio 0.6.23
β βββ tokio 0.2.25
β β βββ trust-dns-resolver 0.19.7
β β β βββ actix-connect 2.0.0
β β β βββ actix-http 2.2.2
β β β βββ awc 2.0.3
β β β β βββ actix-web 3.3.3
β β β β βββ link 0.1.0
β β β βββ actix-web 3.3.3
β β βββ trust-dns-proto 0.19.7
β β β βββ trust-dns-resolver 0.19.7
β β β βββ actix-connect 2.0.0
β β βββ tokio-util 0.3.1
β β β βββ h2 0.2.7
β β β β βββ actix-http 2.2.2
β β β βββ actix-codec 0.3.0
β β β βββ awc 2.0.3
β β β βββ actix-web 3.3.3
β β β βββ actix-utils 2.0.0
β β β β βββ actix-web 3.3.3
β β β β βββ actix-tls 2.0.0
β β β β β βββ actix-web 3.3.3
β β β β β βββ actix-http 2.2.2
β β β β βββ actix-server 1.0.4
β β β β β βββ actix-web 3.3.3
β β β β β βββ actix-testing 1.0.1
β β β β β βββ actix-web 3.3.3
β β β β βββ actix-http 2.2.2
β β β β βββ actix-connect 2.0.0
β β β βββ actix-tls 2.0.0
β β β βββ actix-server 1.0.4
β β β βββ actix-http 2.2.2
β β β βββ actix-connect 2.0.0
β β βββ tokio-openssl 0.4.0
β β β βββ actix-tls 2.0.0
β β β βββ actix-connect 2.0.0
β β βββ h2 0.2.7
β β βββ actix-rt 1.1.1
β β β βββ awc 2.0.3
β β β βββ actix-web 3.3.3
β β β βββ actix-utils 2.0.0
β β β βββ actix-testing 1.0.1
β β β βββ actix-server 1.0.4
β β β βββ actix-http 2.2.2
β β β βββ actix-connect 2.0.0
β β βββ actix-codec 0.3.0
β βββ mio-uds 0.6.8
β β βββ tokio 0.2.25
β β βββ actix-server 1.0.4
β βββ actix-server 1.0.4
βββ mio 0.6.23
Crate: stdweb
Version: 0.4.20
Warning: unmaintained
Title: stdweb is unmaintained
Date: 2020-05-04
ID: RUSTSEC-2020-0056
URL: https://rustsec.org/advisories/RUSTSEC-2020-0056
Dependency tree:
stdweb 0.4.20
βββ time 0.2.27
βββ cookie 0.14.4
β βββ actix-http 2.2.2
β βββ awc 2.0.3
β β βββ actix-web 3.3.3
β β βββ link 0.1.0
β βββ actix-web 3.3.3
βββ actix-web 3.3.3
βββ actix-http 2.2.2
Crate: term
Version: 0.5.2
Warning: unmaintained
Title: term is looking for a new maintainer
Date: 2018-11-19
ID: RUSTSEC-2018-0015
URL: https://rustsec.org/advisories/RUSTSEC-2018-0015
Dependency tree:
term 0.5.2
βββ prettytable-rs 0.8.0
βββ link 0.1.0
Crate: link
Version: 0.1.0
Warning: yanked
Dependency tree:
link 0.1.0
error: 3 vulnerabilities found!
warning: 4 allowed warnings found
BR,
Nariod
Interacting with the links works fine, but when I go to run something like sharp init svchost winPEAS
it dumps could not find tool, at the main menu the following command may help: sharp init
. Whenever I run that command it just prints updating sharpcollection
and nothing changes. Am I doing something wrong?
veil evasion
https://github.com/topics/antivirus-evasion
https://github.com/PushpenderIndia/crypter
https://github.com/KooroshRZ/Evader cpp
https://github.com/NishanthSpShetty/crust transpiler cpp > rust...
π > generate 1.1.1.1:443
please wait...
link successfully built
No such file or directory (os error 2)
No such file or directory (os error 2)
Could not find DLL
hi postrequest:
when i install it on my ubuntu 18.04 use default kali-install.sh
report """"Could not find DLL....""""
this error report sooo simple!
hava a nice day !
I think I can learn a lot from here.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.