diff --git a/sdcard/rootfs/root/pwnagotchi/config.yml b/sdcard/rootfs/root/pwnagotchi/config.yml index 212d26f7..0fb3164d 100644 --- a/sdcard/rootfs/root/pwnagotchi/config.yml +++ b/sdcard/rootfs/root/pwnagotchi/config.yml @@ -15,7 +15,7 @@ main: # if not null, filter access points by this regular expression filter: null # cryptographic key for identity - pubkey: /etc/ssh/ssh_host_rsa_key.pub + pubkey: /etc/ssh/ssh_host_rsa_key.pub ai: # if false, only the default 'personality' will be used @@ -34,7 +34,7 @@ ai: vf_coef: 0.25 # entropy coefficient for the loss calculation ent_coef: 0.01 - # maximum value for the gradient clipping + # maximum value for the gradient clipping max_grad_norm: 0.5 # the learning rate learning_rate: 0.0010 @@ -81,7 +81,7 @@ personality: # number of active epochs that triggers the excited state excited_num_epochs: 10 # number of inactive epochs that triggers the bored state - bored_num_epochs: 15 + bored_num_epochs: 15 # number of inactive epochs that triggers the sad state sad_num_epochs: 25 @@ -90,6 +90,10 @@ ui: # ePaper display can update every 3 secs anyway fps: 0.3 display: + # Possible options inkyphat/waveshare + type: 'inkyphat' + # Possible options red/yellow/black (black used for monocromatic displays) + display_color: 'red' enabled: true rotation: 180 video: @@ -113,7 +117,7 @@ bettercap: port: 8081 username: user password: pass - # folder where bettercap stores the WPA handshakes, given that + # folder where bettercap stores the WPA handshakes, given that # wifi.handshakes.aggregate will be set to false and individual # pcap files will be created in order to minimize the chances # of a single pcap file to get corrupted diff --git a/sdcard/rootfs/root/pwnagotchi/scripts/main.py b/sdcard/rootfs/root/pwnagotchi/scripts/main.py index 4aeb7817..6f446226 100755 --- a/sdcard/rootfs/root/pwnagotchi/scripts/main.py +++ b/sdcard/rootfs/root/pwnagotchi/scripts/main.py @@ -62,7 +62,7 @@ if args.do_manual: core.log("detected a new session and internet connectivity!") - picture = '/tmp/pwnagotchi.png' + picture = '/dev/shm/pwnagotchi.png' display.update() display.image().save(picture, 'png') @@ -121,9 +121,9 @@ while True: # An interesting effect of this: # # From Pwnagotchi's perspective, the more new access points - # and / or client stations nearby, the longer one epoch of + # and / or client stations nearby, the longer one epoch of # its relative time will take ... basically, in Pwnagotchi's universe, - # WiFi electromagnetic fields affect time like gravitational fields + # WiFi electromagnetic fields affect time like gravitational fields # affect ours ... neat ^_^ agent.next_epoch() except Exception as e: diff --git a/sdcard/rootfs/root/pwnagotchi/scripts/pwnagotchi/ui/display.py b/sdcard/rootfs/root/pwnagotchi/scripts/pwnagotchi/ui/display.py index 5a1d03dd..73413ced 100644 --- a/sdcard/rootfs/root/pwnagotchi/scripts/pwnagotchi/ui/display.py +++ b/sdcard/rootfs/root/pwnagotchi/scripts/pwnagotchi/ui/display.py @@ -19,7 +19,7 @@ class VideoHandler(BaseHTTPRequestHandler): - +