How does npm start work? What all processes are happening in the background?

An npm script is just a shortcut to run a series of node commands on your project. Any npm script, meaning any node.js commands listed under a package.json file’s “scripts” section, are executed through node.js when you call them. So npm start runs the node script that is listed under start in the package.json. As in the article that … Read more

What is a reverse shell?

It’s a(n insecure) remote shell introduced by the target. That’s the opposite of a “normal” remote shell, that is introduced by the source. Let’s try it with localhost instead of 10.0.0.1: Open two tabs in your terminal. open TCP port 8080 and wait for a connection:nc localhost -lp 8080 Open an interactive shell, and redirect the IO streams … Read more

Authentication versus Authorization

Authentication is the process of ascertaining that somebody really is who they claim to be. Authorization refers to rules that determine who is allowed to do what. E.g. Adam may be authorized to create and delete databases, while Usama is only authorised to read. The two concepts are completely orthogonal and independent, but both are central to security design, … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)