Hack The User Interface. Now, let’s look at some commands you can issue in the Terminal to mess around with the user interface, to help you use your Mac the way you want, rather than the way. Dude you cant use crosh to hack anything I don’t think, and I also don’t think you can hack anything with JUST commands but if you are honestly interested in hacking i recommend learning some basic coding and using an IDE like VSCode and using a program which will hide your identity and whatnot such as TOR or I2P, both of those work very.
crossystem disable_dev_request=1; reboot
And that’s it. Happy hackin’!This page has two sections. First up is a table of commands, and then later in the page, you’ll find a quick and dirty guide (originally posted as its own article) on actually getting into and using the cross environment.Command | Purpose |
exit | Exit the crosh Shell |
help | Display the crosh help |
help_advanced | Show advanced crosh commands; primarily used for debugging. |
ping | [-c count] [-i interval] [-n] [-s packetsize] [-W waittime] < destination >Send ICMP ECHO_REQUEST packets to a network host. If < destination > is “gw” then the next hop gateway for the default route is used.It works just like the ping command on other operating systems. Press Ctrl+C to stop the ping process or halt any other command in Crosh. |
ssh | Starts the ssh subsystem if invoked without any arguments.“ssh < user > < host >”, “ssh < user > < host > < port >”, “ssh < user >@< host >”. or “ssh < user >@< host > < port >” connect without entering the subsystem. |
ssh_forget_host | Remove a host from the list of known ssh hosts. This command displays a menu of known hosts and prompts for the host to forget. |
top | Sets the chapsd log level. No arguments can start verbose logging. |
battery_test [< test length >] | Tests battery discharge rate for given number of seconds. No argument will default to 300s test. |
bt_console <agent> | Enable the Bluetooth debugging console |
chaps_debug [start | stop | < log_level >] | Sets the chapsd logging level. No arguments will start verbose logging. |
connectivity | Shows connectivity status. |
experimental_storage < status | enable | disable > | Enable or disable experimental storage features. |
ff_debug [< tag_expr >] [–help] [–list_valid_tags] [–reset] | Add and remove ff debugging tags. |
memory_test | Performs extensive memory testing on the available free memory. |
modem < command > [args…] | Interact with the 3G modem. Run “modem help” for detailed help. |
modem_set_carrier carrier-name | Configures the modem for the specified carrier. |
network_diag [–date] [–link] [–show-macs] [–wifi] [–help] [–wifi-mon] < host > | A function that performs a suite of network diagnostics. Saves a copy of the output to your download directory. |
network_logging < wifi | cellular | ethernet > | A function that enables a predefined set of tags useful for debugging the specified device. |
p2p_update [enable | disable] | Enables or disables the peer-to-peer (P2P) sharing of updates over the local network. This will both, attempt to get updates from other peers in the network and share the downloaded updates with them. Run this command without arguments to see the current state. |
rlz < status | enable | disable > | Enable or disable RLZ. |
rollback | Attempt to rollback to the previous update cached on your system. Only available on non-stable channels and non-enterprise enrolled devices. Please note that this will powerwash your device. |
route [-n] [-6] | Display the routing tables. |
set_apn [-n < network-id >] [-u < username >] [-p < password >] < apn > | Set the APN to use when connecting to the network specified by < network-id >. If < network-id > is not specified, use the network-id of the currently registered network. |
set_apn – c | Clear the APN to be used, so that the default APN will be used instead. |
set_arpgw < true | false > | Turn on extra network state checking to make sure the default gateway is reachable. |
set_cellular_ppp [-u < username >] [-p < password >] | Set the PPP username and/or password for an existing cellular connection. If neither -u nor -p is provided, show the existing PPP username for the cellular connection. |
set_cellular_ppp -c | Clear any existing PPP username and PPP password for an existing cellular connection. |
sound < command > < argument > | Low level sound configuration. Can be used to play/record audio samples and enable beam forming on Pixel.“sound beamforming < on | off >” will enable/disable the feature.“sound record [duration]” will start recording.“sound play < filename >” will play the recorded audio samples. |
storage_status | Reads storage device SMART health status, vendor attributes and error log. |
storage_test_1 | Performs a short offline SMART test. |
storage_test_2 | Performs an extensive readability test. |
syslog < message > | Logs a message to syslog. |
tpcontrol {status | taptoclick [on|off] sensitivity [1-5] | set < property > <value>}tpcontrol {syntp [on|off]} | Manually adjust advanced touchpad settings. |
tracepath [-n] < destination >[/port] | Trace the path/route to a network host. |
update_over_cellular [enable|disable] | Enables or disables the auto updates over cellular networks. Run without arguments to see the current state. |
upload crashes | Uploads available crash reports to the crash server. |
wpa_debug [< debug_level >] [–help] [–list_valid_level] [–reset] | Set wpa_supplicant debugging level. |
xset m [acc_mult[/acc_div] [thr]]xset m default | Tweak the mouse acceleration rate. |
xset r rate [delay [rate]] | Tweak autorepeat rates. The delay is the number of milliseconds before autorepeat starts. The rate is the number of repeats per second. |
xset r [keycode] < on|off > | Turn autorepeat on/off. If keycode is specified, it affects only that key. If not specified, it affects global behavior. |
help
help_advanced
shell
sudo /opt/google/chrome/chrome –version
uname -a
update_engine_client -update
sudo /usr/sbin/chromeos-firmwareupdate -V
sound record NUMBEROFSECONDS
Look for (or grep for) BIOS version in the output.sudo dump_vpd_log --full --stdout
sudo dump_vpd_log --full --stdout | grep 'serial_number'
sudo systrace
xset m
tracepath www.google.com
network_diag
packet_capture
tpcontrol status
network_logging wifi
wpa_cli
enterprise_ca_approve --allow-self-signed https://entca.krypted.com
sudo ifconfig eth0
top
id
ping www.google.com
shell_history
exit
shell
sudo /usr/share/vboot/bin/make_dev_ssd.sh --remove_rootfs_verification