
Security News
Researcher Exposes Zero-Day Clickjacking Vulnerabilities in Major Password Managers
Hacker Demonstrates How Easy It Is To Steal Data From Popular Password Managers
Browse /proc fs on Linux.
This is a draft version.
Manual install, with:
$ gem install procfs2
Add to Gemfile with:
$ bundle add procfs2
This is a draft version.
It may change or not.
Comments / PR welcome !
Example of usage:
@p = Procfs2.proc
puts @p
puts @p.version._path
puts @p.version._raw_content
puts @p.version.version
puts @p.version.timestamp
puts @p.pid('self').fd._path
puts @p.pid('self').fd.id(0)
puts @p.pid(1091714).fd.id(3).type
puts @p.pid(1091714).fd.select { |fd| fd.type == 'socket' }
puts @p.pid(1091714).fd.select { |fd| fd.type == 'socket' }.map { |fd| fd.inode }
puts @p.net.tcp.by_inode(2235042).id
puts @p.net.tcp.by_inode(2235042).remote_address
puts @p.net.tcp.by_inode(2235042).remote_port
puts @p.net.tcp.by_inode(2235042).state_str
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/procfs2.
The gem is available as open source under the terms of the MIT License.
FAQs
Unknown package
We found that procfs2 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Hacker Demonstrates How Easy It Is To Steal Data From Popular Password Managers
Security News
Oxlint’s new preview brings type-aware linting powered by typescript-go, combining advanced TypeScript rules with native-speed performance.
Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.