title: Nodejs Require is not defined while using reverse shell
body: <p>If require is not available, to obtain the require by:</p>
  <p>process = this.constructor.constructor('return (function(){return process})()')();
  var require = process.mainModule.require;</p>
  <p>used</p>
  <p>shell = 'process = this.constructor.constructor('return (function(){return process})()')();'</p>
  <p>shell += 'var require = process.mainModule.require;'</p>
  <p>Errors: process is not defined
  if we add const before process
  Errors: mainModule is not defined</p>
  <p>How do we import process without Require , and how do  we process the code to server</p>