onelinerhub
OSQuery
onelinerhub | OSQuery | |
---|---|---|
15 | 44 | |
788 | 21,361 | |
0.5% | 0.5% | |
10.0 | 8.8 | |
about 2 months ago | 3 days ago | |
PHP | C++ | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
onelinerhub
-
Best Websites For Coders
Library or micro code solutions : Community library of micro code pieces for popular issues.
-
Aligning text horizontally and vertically with PHP GD
We use (400 - $p[2])/2 to calculate x coordinate so our text is centered horizontally. Open original or edit on Github.
-
10 Useful vim commands for coders
More useful Vim commands, add your commands on Github.
-
Getting and setting headers in Node.js HTTP server
Open original or edit on Github.
-
3 code pieces to work with file path in Node.js
Original version, improve this code.
-
Help us collect modern Python NumPy code solutions
The suggested solution https://github.com/Onelinerhub/onelinerhub/blob/34467e427cc6... still runs out of memory with many files.
I believe the original intention behind using mode="a" was to append to the output file while reading the input files at the same time. This way, there is no need for an ever-growing string array.
But there are still many other issues like using default platform string encoding instead of detecting it properly or at least using utf-8, checking for ".txt" anywhere in the path instead of at the end, and not closing the input files with a context manager like the output file, which suggests that this code is just pierced together from various sources.
A robust solution would require many more lines.
-
Hacker News top posts: Mar 28, 2022
Help us collect modern Python NumPy code solutions\ (23 comments)
-
Many thanks to all of you โ new UI onelinerhub.com
Thank you all for great support in helping our ad-free non-profit code library project.
We've launched new UI today (thanks to your support and sponsoring!), please help us test it and make sure everything works fine. Please leave feedback using Github issues: https://github.com/nonunicorn/onelinerhub/issues
OSQuery
-
Ask HN: SQLite in Production?
Perhaps the OP means OsQuery: https://github.com/osquery/osquery
OsQuery is an SQLite extension consisting of hundreds of virtual tables
-
Osquery: An sqlite3 virtual table exposing operating system data to SQL
There's at least one open data quality issue for `process_open_sockets` on macOS[1]. It's a few years old however and, if you aren't seeing that casting error, you probably aren't hitting it. But that's a good example of the kind of debt that's been built up over time.
(In terms of general purpose/flexible tooling, I'm not aware of a close replacement for osquery.)
[1]: https://github.com/osquery/osquery/issues/6319
- SQLite virtual table to query operating system data via SQL
-
Show HN: Natural Language to SQL "Text-to-SQL" API by Dataherald
The largest we have successfully deployed is on the OSQuery schema https://osquery.io/ which is 277 tables and lots of business context (malwares, vulnerabilities, Windows registry keys, etc).
-
Alternative to Endpoint Protector?
From a self hosted standpoint OSQuery or Wazuh are your best bets for monitoring USB devices. Windows makes blocking really challenging and Iโm not aware of any โfreeโ solutions that attempt it.
-
Firewall rules beyond "deny incoming, enable only the ports that you need"
Configure auditd to monitor host activity: https://izyknows.medium.com/linux-auditd-for-threat-detection-d06c8b941505 or osquery: https://osquery.io/ (or similar software: filebeat for example).
- Craziest thing I ever used SQLite for: partial file deduplication
-
Best Websites For Coders
OS Query : Easily ask questions about your Linux, Windows, and macOS infrastructure
-
Tool that let you know see EXE file on multiple PC?
Osquery + Fleet. https://osquery.io/ https://fleetdm.com/, using the two allows you to build a query to answer what ever questions you (or an auditor) might have about your environment.
- Osquery: SQL powered operating system instrumentation
What are some alternatives?
scripts - Collection of useful scripts for Linux (git, docker, LUKS, Archlinux...)
Wazuh - Wazuh - The Open Source Security Platform. Unified XDR and SIEM protection for endpoints and cloud workloads.
high-assurance-rust - A free book about developing secure and robust systems software.
OSSEC - OSSEC is an Open Source Host-based Intrusion Detection System that performs log analysis, file integrity checking, policy monitoring, rootkit detection, real-time alerting and active response.
fornjot - Early-stage b-rep CAD kernel, written in the Rust programming language.
falco - Cloud Native Runtime Security
flower - Flower: A Friendly Federated Learning Framework
lynis - Lynis - Security auditing tool for Linux, macOS, and UNIX-based systems. Assists with compliance testing (HIPAA/ISO27001/PCI DSS) and system hardening. Agentless, and installation optional.
slickstack - Lightning-fast WordPress on Nginx
Suricata - Suricata is a network Intrusion Detection System, Intrusion Prevention System and Network Security Monitoring engine developed by the OISF and the Suricata community.
pi-encrypted-boot-ssh - ๐ Raspberry Pi Encrypted Boot with Remote SSH
SaltStack - Software to automate the management and configuration of any infrastructure or application at scale. Get access to the Salt software package repository here: