# Rocket-Chat-3.12.1-PoC-CVE-2021-22911-
1. Go login page

2. Register new account, set password as P@$$w0rd!1234

3. Run script
-u = Low priv user email [ No 2fa ]
-a = Administrator email
-t = URL (Eg: http://rocketchat.local)
python3 rocketchat.py -u zxc@zxc.zxc -a admin@chatty.offsec -t http://192.168.169.164:3000
4. Execute any code with RCE. (no result of execution shown)

revshell.com -> interactive shell

source:50108.py
[4.0K] /data/pocs/0b248a895609bfbd878fa610873a5729307f577e
├── [ 819] README.md
└── [7.6K] rocketchat.py
0 directories, 2 files