Crates.io | ptrace-do-rs |
lib.rs | ptrace-do-rs |
version | 0.1.0 |
source | src |
created_at | 2020-07-28 15:04:36.803183 |
updated_at | 2020-07-28 15:04:36.803183 |
description | ptrace-do-rs is rust bindings for libptrace-do |
homepage | |
repository | https://github.com/detailyang/ptrace-do-rs |
max_upload_size | |
id | 270478 |
size | 64,543 |
ptrace-do-rs
ptrace-do-rs is rust bindings for libptrace-do
rust bindings to libptrace_do via bindgen
closeany is the binary to close process fd which attach the target process then close the specified fd via ptrace which can be used to kill the close-wait tcp connection.
closeany is equal to the command:
gdb -ex="set confirm off" -p pid -ex 'p close(fd)' -ex quit
closeany -p pid fd1 fd2 fd3
ptrace-do-rs is under the MIT license. See the LICENSE file for details.