From 12d7f76179b72d0f990495a4cad3ffa7dcbb60c9 Mon Sep 17 00:00:00 2001 From: Vitor Araujo Date: Tue, 8 Jan 2019 17:00:04 -0200 Subject: [PATCH 1/4] autocomplete="off" and fix minor bugs autocomplete="off" in forms and fix bug on input 2FA based in https://developer.mozilla.org/pt-BR/docs/Web/Security/Securing_your_site/Turning_off_form_autocompletion --- view/home.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/view/home.php b/view/home.php index 0e97c53..f31870e 100644 --- a/view/home.php +++ b/view/home.php @@ -7,16 +7,16 @@ } ?>

-
+
-
+

-
+
From eda85bfbcbe7bcbfa423a9eabd770693c8333e06 Mon Sep 17 00:00:00 2001 From: Vitor Araujo Date: Wed, 9 Jan 2019 15:45:53 -0200 Subject: [PATCH 2/4] improve security issues refer to https://github.com/johnathanmartin/piWallet/issues/88#issuecomment-452513729 X-XSS-Protection header and X-Content-Type-Options header --- view/header.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/view/header.php b/view/header.php index c33eabd..402a318 100644 --- a/view/header.php +++ b/view/header.php @@ -1,4 +1,7 @@ - + From 1e602cb8707d2452b112327f322e62ab52590370 Mon Sep 17 00:00:00 2001 From: Vitor Araujo Date: Wed, 9 Jan 2019 16:13:41 -0200 Subject: [PATCH 3/4] passwords and addresses with autocomplete="off" --- view/admin_info.php | 4 ++-- view/wallet.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/view/admin_info.php b/view/admin_info.php index 1db6ab6..e08329f 100644 --- a/view/admin_info.php +++ b/view/admin_info.php @@ -26,7 +26,7 @@

Set new password:

- +
@@ -34,7 +34,7 @@


Withdraw funds:

- +
diff --git a/view/wallet.php b/view/wallet.php index 3e068a0..3e10399 100644 --- a/view/wallet.php +++ b/view/wallet.php @@ -50,7 +50,7 @@

- +
@@ -65,7 +65,7 @@


- +
From 41211213e8e80f5b645f8fb6dc984b43b3fa80b4 Mon Sep 17 00:00:00 2001 From: Vitor Araujo Date: Thu, 17 Jan 2019 12:22:40 -0200 Subject: [PATCH 4/4] improvements - Fix qr code don't show - Fix cookies without HTTP Only and Secure flag - Fiz session cookies without HTTP Only and Secure flag refer to: https://github.com/johnathanmartin/piWallet/issues/88#issuecomment-452513729 --- common.php | 6 +++++- view/header.php | 5 +---- view/wallet.php | 4 ++-- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/common.php b/common.php index 9fe3668..f986737 100644 --- a/common.php +++ b/common.php @@ -1,10 +1,14 @@ + diff --git a/view/wallet.php b/view/wallet.php index 3e10399..21ef4d4 100644 --- a/view/wallet.php +++ b/view/wallet.php @@ -93,8 +93,8 @@ foreach ($addressList as $address) { echo "".$address."";?> - - QR Code + + QR Code