Skip to content

Commit

Permalink
Update CAUB on Fentanyl
Browse files Browse the repository at this point in the history
  • Loading branch information
S-PScripts authored Jun 5, 2024
1 parent 5cd8d63 commit 369b7fa
Showing 1 changed file with 21 additions and 22 deletions.
43 changes: 21 additions & 22 deletions Exploits/CAUB on Fentanyl
Original file line number Diff line number Diff line change
@@ -1,38 +1,37 @@
# CAUB On Fentanyl (name inspiration: <#1183294018923278346>)
CAUB On Fentanyl

This ***hard*** blocks updates by completely removing the updater from CrOS
This hard blocks updates by completely removing the updater from ChromeOS.

### Requirements:
* `chronos` access, or `root` access pref.
* pre-117 for `sudo` in crosh, or else you need to manually type the commands / cmd
* rootfs verification disabled
Requirements:
- chronos access or root access pref.
- pre-117 for sudo in crosh, or else you need to manually type the commands / cmd
- rootfs verification disabled

* 1) Open Crosh / VT2 (if post-117)
* 2) Run `shell` / login to chronos (if post-117 / VT2)
* 3) Run either the long command(s) (posted below) or the short command (posted below)
* 4) Reboot
Instructions:
1) Open Crosh / VT2 (if post-117)
2) Run shell / login to chronos (if post-117 / VT2)
3) Run either the long command(s) (posted below) or the short command (posted below)
4) Reboot

### LONG CMDS / MULTI-LINE:
```
LONG CMDS / MULTI-LINE:
sudo stop update-engine
sudo rm -rf /usr/sbin/update_engine
sudo rm -rf /usr/bin/update_engine_client
sudo rm -rf /sbin/chromeos-firmwareupdate
sudo rm -rf /opt/google/cr50/firmware/* #no this doesnt nuke your device, it removed the staged cr50 updates iirc, preventing them from being flashed
sudo rm -rf /opt/google/cr50/firmware/* #this does not nuke your device. it removes the staged cr50 updates, preventing them from being flashed
sudo sed -i "/etc/lsb-release" -e "s/google.com/gooole.com/g"
```

### SHORT CMD / 1 LINE:
```
SHORT CMD / 1 LINE:
sudo stop update-engine && sudo rm -rf /usr/sbin/update_engine && sudo rm -rf /usr/bin/update_engine_client && sudo rm -rf /sbin/chromeos-firmwareupdate && sudo rm -rf /opt/google/cr50/firmware/* && sudo sed -i "/etc/lsb-rel" -e "s/google.com/gooole.com/g"
```

## P.S:
You can zero ROOT-B if you really want to make sure you don't update, run these commands:
(This ***could*** nuke your root partition, please be careful when running these commands!)
```
Extra information:
You can zero ROOT-B if you really want to make sure you don't update. To do this, run these commands:
(This could nuke your root partition, please be careful when running these commands!)

root_dev=$(rootdev)
cleaned_dev="${root_dev//p[0-9]*/}"
sudo dd of=$(cleaned_dev)p4 if=/dev/zero bs=1M status=progress
sudo dd of=$(cleaned_dev)p5 if=/dev/zero bs=1M status=progress
```

Credits:
katelyn | Titanium Network

0 comments on commit 369b7fa

Please sign in to comment.