This repository has been archived by the owner on Jun 28, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
47516e1
commit 2aac178
Showing
13 changed files
with
147 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
FROM node:10 | ||
WORKDIR /usr/src/app | ||
# Install app dependencies | ||
# A wildcard is used to ensure both package.json AND package-lock.json are copied | ||
# where available (npm@5+) | ||
COPY package*.json ./ | ||
|
||
RUN npm install | ||
# If you are building your code for production | ||
# RUN npm ci --only=production | ||
|
||
COPY . . | ||
|
||
EXPOSE 8080 | ||
|
||
CMD [ "node", "server.js" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
web: node index.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
Fake bank for messing with refund scammers. | ||
|
||
Running in Docker: | ||
|
||
``` | ||
docker build -t fake-bank . | ||
docker run -d -p 192.168.181.1:443:8080 fake-bank:latest | ||
``` | ||
|
||
You'll need to replace `192.168.181.1` with whatever interface your virtual machine guest is running on. | ||
|
||
Edit your Windows guest host file so that `njcreditunionmutual.com` resolves to `192.168.181.1` (or whatever). | ||
https://www.groovypost.com/howto/edit-hosts-file-windows-10/ | ||
|
||
Visit the domain, copy the cert to a file, and trust it in the guest. | ||
http://www.hackaapl.com/how-to-trust-self-signed-certificates-in-windows-7/ | ||
|
||
Cert was generated with: | ||
|
||
``` | ||
openssl req -subj "/CN=njcreditunionmutual.com" -nodes -new -x509 -keyout server.key -out server.cert -days 3650 | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIICwDCCAagCCQC8BPqISsqq7zANBgkqhkiG9w0BAQsFADAiMSAwHgYDVQQDDBdu | ||
amNyZWRpdHVuaW9ubXV0dWFsLmNvbTAeFw0xOTExMTYxOTE0NDZaFw0yOTExMTMx | ||
OTE0NDZaMCIxIDAeBgNVBAMMF25qY3JlZGl0dW5pb25tdXR1YWwuY29tMIIBIjAN | ||
BgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApFdLJzdpdfS301iSO7lPRVOqXO+u | ||
BsfR5cqwKUa6QOoPXQNI9ffT8HYxWNy7GdBck4LCSrNOjxPiC8nWW5vhERGIvHZW | ||
LvOw9zc0r3AfbxyEDziWwQDGaujXehEEVOu+Q7nJFt63P1hrOhaL1cZrsw25bcCE | ||
POZZUmLMBIidPdr+B6hHSVwPa5tvcdBVmxin75+DO+0aD4aVY/lBPctZG17/2GRB | ||
/JxX9eCQSFA/aDSPfrI9siYpaYPr8j29FY/fVF6smdVz5Yc8nbtuab5uc7C1u2OS | ||
tyOw9iVCkAZrY8EWcVkqPmKq7avigo2PLe9gXiYljTXnhwxv2T5QlAySvwIDAQAB | ||
MA0GCSqGSIb3DQEBCwUAA4IBAQApRkKyyUj5ET3uTvqM8jsesKHfzMWRKDZj2Y+r | ||
zPMsHRUEhaNF3CgOEnGXrMKFiE4l7+JbWzGvY6wyw/gSGmPs2dFeoVYTfW64GRB3 | ||
VsHeJ3dlRWlov1mmIwtmqkixQWVcEyJP7bTOhLxl6vOA0aS04XeT5g1JV2BHVf5A | ||
Il0dUxMvf5+lMTEMDRVG26DUR1QWD4pA2DcmYKqaWWql0189O+5ZtNCv98DMs/8k | ||
OAGBpetXch2hdCqGQFdbI9mV9f1QWIcj4Mx5J96/B5flcm2Gin5y5Zd1SlvWKzai | ||
cmgwFBcqUUZXjY0n63i4eh+1lG5KDfxGJ6V//lV3ZxgWak2r | ||
-----END CERTIFICATE----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
-----BEGIN PRIVATE KEY----- | ||
MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCkV0snN2l19LfT | ||
WJI7uU9FU6pc764Gx9HlyrApRrpA6g9dA0j199PwdjFY3LsZ0FyTgsJKs06PE+IL | ||
ydZbm+EREYi8dlYu87D3NzSvcB9vHIQPOJbBAMZq6Nd6EQRU675DuckW3rc/WGs6 | ||
FovVxmuzDbltwIQ85llSYswEiJ092v4HqEdJXA9rm29x0FWbGKfvn4M77RoPhpVj | ||
+UE9y1kbXv/YZEH8nFf14JBIUD9oNI9+sj2yJilpg+vyPb0Vj99UXqyZ1XPlhzyd | ||
u25pvm5zsLW7Y5K3I7D2JUKQBmtjwRZxWSo+Yqrtq+KCjY8t72BeJiWNNeeHDG/Z | ||
PlCUDJK/AgMBAAECggEAQGzoTWtvsIpLNlNWoIs5BFiURPLBKm9TXd5jyQqtIZ2g | ||
gDo1dBe/wljTZ57AypHgeQOd32MDvRtyVmS94BPv250gGaHaj3WBPqkpwk0WRZzM | ||
OJtanjcLkgXN01CwfgodALfomUqeU/r5rkAAecHbnso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fIQ1zg/0ugi8VNy3h6skGSIidkDBbqqRgcWtovFnwwgW | ||
D2WKslgNg6+j3pknTd8nUkP/ | ||
-----END PRIVATE KEY----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
footer.mt-auto.py-5.px-2.bg-gray-100 | ||
div.container.text-center | ||
p All content on this site copyright © 2019 | ||
p Copyright © 2019 | ||
strong= siteTitle | ||
| . All rights reserved. | ||
p | ||
a(href='/') Home | ||
| | | ||
a(href='/admin') Employees | ||
a(href='/rates') Rates | ||
| | | ||
a(href='/contact') Contact |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters