Skip to content

Commit

Permalink
Insert marker for password replacer
Browse files Browse the repository at this point in the history
  • Loading branch information
mash committed Jul 27, 2015
1 parent be33d36 commit 8ad24aa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion firmware/src/IRKit/GSwifi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1355,7 +1355,8 @@ char* GSwifi::hostname() {
char* GSwifi::password() {
// reuse index: 0 area
// this should be safe if we immediately call `strcpy( target, password() )`
return PB("XXXXXXXXXX", 0);
char *ret = PB("XXXX,XXXXXXXXXX", 0);
return ret + 5; // we detect ^ this pattern in password replacer
}

void GSwifi::bufferClear() {
Expand Down

0 comments on commit 8ad24aa

Please sign in to comment.