Summary
In this chapter, we looked at the structure of Electron applications while focusing on aspects such as filesystems and processes. We also provided an overview of XSS and discussed its types, techniques, and vectors.
We analyzed an Electron JavaScript application using source code analysis, dynamic analysis, instrumentation, and debugging techniques. We also identified different types of XSS, including stored XSS and self-XSS, and demonstrated how to turn XSS into RCE in an Electron JavaScript application.
In the next chapter, we’ll focus on Ethereum Smart Contracts.