Category: PHP

Random byte generation in PHP

Here is my small 5 minute php script for random byte generation.

Could be useful for checking your random numbers quality. https://www.random.org/analysis/dilbert.jpg 🙂

Read more

Linux security basics with SUID/SGID – part 1

Hello, i’m starting series of article on Linux security theme. Here is example of SUID/SGID bits that could give you superuser executes in system: Let’s write some simple C program:

We need to compile it:

cc suid_hack.c -o suid_hack Here is magic of SUID and SGID bits:

Now, run suid_hack by ordinary […]

Read more