Commit Graph

24 Commits

Author SHA1 Message Date
sillyfrog
ca40fd0d2f Optional Helper scripts (#356)
* Helper script support

---------

Co-authored-by: Sillyfrog <sillyfrog@users.noreply.github.com>
2023-04-15 08:21:13 -05:00
Cossid
657cea5757 Rework to make output cleaner by default and add -v parameter for verbose mode which is still useful for debugging.
Clean up all messages to be clearer and cleaner
Add showing the device mac address to the end of cutting and flashing.
Change close timeout from the time of the firmware upgrade trigger to instead trigger when we get notifications of nearly being complete, and add a paramter (-t) to customize it.
2023-02-06 00:17:03 -06:00
Cossid
e2d1ccdf5d Minor fix - common_run.sh fix indenting 2022-12-29 23:04:46 -06:00
Cossid
0e2911e105 minor fix - Fix warning on firmware confirmation case. 2022-12-29 23:03:29 -06:00
Cossid
8c26a13a3d cloudcutter - Remove sectioning for logging, as it appears to be causing issues. 2022-12-29 12:38:50 -06:00
Cossid
cd1867efa0 cloudcutter - Disable logging, not fully working yet, interfering with run_in_docker input. 2022-12-29 12:18:54 -06:00
Cossid
68606c9ebc cloudcutter - Add automatic basic and safe logging after input selection, saved to logs directory. 2022-12-29 10:20:17 -06:00
Cossid
b9277b6157 Combine run_detach and run_flash into a single script.
Add ability to take all parameters as command line arguments or input during runtime.
Exit with notification if exploit was ran and device did not change to an A- prefix.
Remove poetry/pyproject from root, as that is all handled by docker.
2022-12-18 20:52:48 -06:00
Cossid
90fbe3060d common_run - Make BK7231 filename check case-insensitive 2022-12-09 12:22:31 -06:00
Cossid
5076d368a6 common_run - If firmware is selected, and the filename indicates a chip different that the selected profile, force the user to confim they want to proceed. If there is no chip name in the filename, it will continue with no warning. 2022-12-09 12:18:15 -06:00
Kuba Szczodrzyński
f794c39853 Fix reading combined profile when specifying using CLI 2022-12-02 18:56:03 +01:00
Cossid
580cf57114 Make wifi scanning notification less spammy. Only show the list of APs once, as it continues to grow. Only show a progressing dot for actual scanning indication.
Clean up using statements to only show when deviceid and localkey are supplied.
2022-12-01 19:36:55 -06:00
Kuba Szczodrzyński
48a5995fca Refactor get_input.py to click, allow selection of local custom profiles 2022-12-01 21:09:06 +01:00
Kuba Szczodrzyński
34705a9b4e Download profile data when specifying device name 2022-11-30 18:01:37 +01:00
Kuba Szczodrzyński
345ef69d00 Fix writing profile data in Docker 2022-11-30 18:01:15 +01:00
Tom Clement
59963d7bfd Merge pull request #147 from tuya-cloudcutter/feature/flashing-docs
Added documentation and did some cleanup re: flashing using cloudcutter
2022-10-09 12:31:06 +02:00
Tom Clement
4dd681abf3 Added documentation and did some cleanup re: flashing using cloudcutter 2022-10-01 16:55:07 +02:00
Petar Koretić
4515dea12b add instructions for smart plugs
https://support.tuya.com/en/help/_detail/K9hut3w10nby8
2022-09-26 21:39:36 +02:00
Moogle Troupe
6dbdd5e559 switch to fixed string evaluation for grep (#70)
* switch to fixed string evaluation for grep

adds support for special characters in tuya device ssid's like spaces and +.

* Update common.sh

partial revert, fix sub function parameter

* Update ap_preambles.txt

* Update common_run.sh

* clean up preamble stuff
2022-04-20 22:10:58 -04:00
Khaled Nassar
e8f3bd9bf8 Final fixes for the AP saga - closes #22 2022-04-10 13:31:13 +02:00
MoogleTroupe
842a1409be add support for setting custom device_id and local_key 2022-04-09 20:20:51 -04:00
Khaled Nassar
832c785f8a Changed hostapd config, update AP name to cloudcutterflash to debug WiFi issues 2022-04-08 23:20:52 +02:00
Khaled Nassar
d8325aee2d Minor delay to post-exploit connection to iron out possible stability issues 2022-04-07 20:22:00 +02:00
Tom Clement
0f26a2957d Added support for flashing custom firmware (instructions following soon) 2022-04-02 22:28:05 +02:00