ptrace-do-rs

Crates.ioptrace-do-rs
lib.rsptrace-do-rs
version0.1.0
sourcesrc
created_at2020-07-28 15:04:36.803183
updated_at2020-07-28 15:04:36.803183
descriptionptrace-do-rs is rust bindings for libptrace-do
homepage
repositoryhttps://github.com/detailyang/ptrace-do-rs
max_upload_size
id270478
size64,543
detailyang (detailyang)

documentation

README

ptrace-do-rs

ptrace-do-rs is rust bindings for libptrace-do

ptrace-do-rs

rust bindings to libptrace_do via bindgen

requirements

  • arch: linux/amd64
  • llvm: ^7.0
  • clang: ^7.0
  • bindgen: ^0.5

artifact

closeany

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

usage

closeany -p pid fd1 fd2 fd3

License

ptrace-do-rs is under the MIT license. See the LICENSE file for details.

Commit count: 34

cargo fmt