Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

security

How can I determine if someone’s SSH key contains an empty passphrase?

August 9, 2022 by Magenaut

Some of my Linux & FreeBSD systems have dozens of users. Staff will use these “ssh gateway” nodes to SSH into other internal servers.

Categories Q&A, Unix & Linux Tags security, ssh, users Leave a comment

Monitoring activity on my computer.

August 9, 2022 by Magenaut

So recently I found that someone has been using my computer without consent, browsing folders, etc….

Categories Q&A, Unix & Linux Tags forensics, logs, monitoring, security Leave a comment

Why is passing the secrets via environmental variables considered “extremely insecure”?

August 8, 2022 by Magenaut

Passing secrets (password) to a program via environmental variable is considered “extremely insecure” according to MySQL docs and as poor choice (from security aspect) across other resources.

Categories Q&A, Unix & Linux Tags command-line, environment-variables, password, security, shell-script Leave a comment

Does installing and using Wine open up your Linux platform to Windows viruses?

August 8, 2022 by Magenaut

Just wondering if installing Wine might open up a fairly solid Linux desktop to the world of Windows viruses. Any confirmed reports about that?

Categories Q&A, Unix & Linux Tags emulation, malware, security, windows Leave a comment

How to prevent a process from writing files

August 8, 2022 by Magenaut

I want to run a command on Linux in a way that it cannot create or open any files to write. It should still be able to read files as normal (so an empty chroot is not an option), and still be able to write to files already open (especially stdout).

Categories Q&A, Unix & Linux Tags apparmor, capabilities, linux, security, selinux Leave a comment

How do I list all sockets which are open to remote machines?

August 8, 2022 by Magenaut

A vanilla ss -l lists (on my current machine) lots of open sockets, with various Netid types and many of which are only listening on localhost.

Categories Q&A, Unix & Linux Tags linux, security, socket Leave a comment

Securest way to authenticate users against /etc/shadow using PHP?

August 8, 2022 by Magenaut

This question became important to me, since I’m setting up a Horde environment and want to use the system accounts. Doing some search I found mainly 4 ways of doing that, which all seem to have some drawbacks. Now I’m wondering, which one is most secure or if I’m missing some alternatives.

Categories Q&A, Unix & Linux Tags pam, php, security Leave a comment

How to fill a device with zeros, without overwriting the bytes that are already zeros?

August 8, 2022 by Magenaut

I have a USB flash drive usb 3, the reading speed is much more than the writing speed.
Let’s say that 99% of the flash memory is already full with zeros, and I would like to fill it with zeros until 100%, by overwriting all the memory flash with zeros dd if=/dev/zero of=/dev/FLASH.

Categories Q&A, Unix & Linux Tags dd, security Leave a comment

How does the kernel prevent a malicious program from reading all of physical RAM?

August 8, 2022 by Magenaut

If I write a program that tries to read memory at every possible address, and I run it on a “full” Unix, it will not be able to access all of the physical RAM. But how does the operating system prevent it from doing so?

Categories Q&A, Unix & Linux Tags kernel, security Leave a comment

Editing my /etc/hosts.deny

August 8, 2022 by Magenaut

I’m being trolled by China, and don’t know why I can’t block their request to my server.

Categories Q&A, Unix & Linux Tags hosts, networking, security, tcp-wrappers Leave a comment
Older posts
Newer posts
← Previous Page1 … Page15 Page16 Page17 … Page25 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress