Skip to content

Commit 68ad195

Browse files
committed
renew something
1 parent f699e1f commit 68ad195

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
1-
# proxychains-rs
1+
# proxychains-rs (v5.0.0)
22

3-
This document is a concise usage and build guide for the proxychains-rs repository. It focuses on building, running and debugging the Rust port of proxychains, and also covers common issues.
3+
This document is a concise usage and build guide for the proxychains-rs repository (version 5.0.0). It focuses on building, running and debugging the Rust implementation that provides proxychains-compatible behavior, and also covers common issues.
44

55
---
66

77
## Overview
88

9-
proxychains-rs is a Rust port of proxychains-ng. Its goal is to produce a shared library that can be injected into target programs using LD_PRELOAD and that behaves (including textual output) the same way as the original C implementation. The runtime artifact produced by this project is `libproxychains_rs.so`.
9+
proxychains-rs (v5.0.0) is a Rust implementation that aims to be compatible with existing proxychains behavior. Its goal is to produce a shared library that can be injected into target programs using LD_PRELOAD and that behaves (including textual output) consistently with prior implementations. The runtime artifact produced by this project is `libproxychains_rs.so`.
1010

1111
Main runtime artifact (release):
1212

1313
- `target/release/libproxychains_rs.so` — the shared object produced by Rust (cdylib).
1414

1515
Note: The supported runtime artifact is `target/release/libproxychains_rs.so`. The project does not rely on producing a compatibility copy named `libproxychains4.so` by default anymore.
1616

17+
Tip: this repository contains a `rust-toolchain` pin (nightly). Cargo will automatically use the pinned nightly toolchain when building the project.
18+
1719
Important: the repository uses some Rust nightly-only features in parts of the codebase (for example `c_variadic` / `extern_types`). Because of this, a nightly toolchain is required to build.
1820

1921
---

rust-toolchain

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nightly

src/core.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4211,7 +4211,8 @@ pub unsafe extern "C" fn proxy_getaddrinfo(
42114211
} else {
42124212
__assert_fail(
42134213
b"(size_t)p == (size_t) space\0" as *const u8 as *const core::ffi::c_char,
4214-
b"/home/adysec/\xE8\xA7\x86\xE9\xA2\x91/proxychains-ng-master/proxychains-C/src/core.c\0"
4214+
/* removed absolute path containing sensitive info */
4215+
b"src/core.c\0"
42154216
as *const u8 as *const core::ffi::c_char,
42164217
1013 as core::ffi::c_uint,
42174218
__ASSERT_FUNCTION.as_ptr(),

src/libproxychains.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ pub unsafe extern "C" fn do_init() {
512512
proxychains_verbose_debug = 1;
513513
}
514514
crate::core::proxychains_write_log(
515-
b"[proxychains] DLL init: proxychains-ng %s\n\0" as *const u8 as *const core::ffi::c_char
515+
b"[proxychains] DLL init: proxychains-rs %s\n\0" as *const u8 as *const core::ffi::c_char
516516
as *mut core::ffi::c_char,
517517
proxychains_get_version(),
518518
);

0 commit comments

Comments
 (0)