What Are Some Of The Advantages of PHP Programming Over Other Programming Languages? [closed]

PHP is a programming language that many people love for its ease of use. It’s used all over the Web, from sites like Facebook to small, personal sites. In some cases, it’s used as a replacement for another programming language.
Here are so… Continue reading What Are Some Of The Advantages of PHP Programming Over Other Programming Languages? [closed]

SQLmap: identified time-based blind, able to retrieve banner, but cannot retrieve database names, target behind firewall [closed]

I’m trying sqlmap (newest stable version {1.6#stable}).
Here’s my situation & current result:

The target is behind a firewall. Sometimes the firewall blocks my ip & shows a recaptcha.
So it seems that I can’t get reliable result. … Continue reading SQLmap: identified time-based blind, able to retrieve banner, but cannot retrieve database names, target behind firewall [closed]

How does "./" affects signature generation for files, in a PHP based web application?

I am solving a lab related to serialization vulnerabilities. It deals with retrieving files based on the signature. The theory of the lab states as quoted, "Adding ./ will still give you the same file but the application will generate… Continue reading How does "./" affects signature generation for files, in a PHP based web application?

How to prevent a timing attack when I do/don’t perform password_verify (depending if the user exists)?

Here is the code which potentially can allow a timing attack
$user = getUserFromDatabase($input_username);

if ($user === false) { // potential timing attack
// user not exist
http_response_code(401);
echo json_encode(["me… Continue reading How to prevent a timing attack when I do/don’t perform password_verify (depending if the user exists)?

Is it necessary to use cryptographically-secure randomness in order to create URLs for user activation?

Usually once you register in a website you need to visit a url like:
https://example.com/user_activate/^random_string^
Does the ^random_string^ necessarily need to be cryptographically pseudorandom instead of a time-based random one?
I mea… Continue reading Is it necessary to use cryptographically-secure randomness in order to create URLs for user activation?

Is it necessary to use cryptographically-secure randomness in order to create URLs for user activation?

Usually once you register in a website you need to visit a url like:
https://example.com/user_activate/^random_string^
Does the ^random_string^ necessarily need to be cryptographically pseudorandom instead of a time-based random one?
I mea… Continue reading Is it necessary to use cryptographically-secure randomness in order to create URLs for user activation?