Skip to content

Commit 1dbc923

Browse files
committed
Update index and script
1 parent 7ef0118 commit 1dbc923

File tree

4 files changed

+26
-4
lines changed

4 files changed

+26
-4
lines changed

3vilBoat/index.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,5 @@
3232
<input type="password" name="password" placeholder="Password" />
3333
<input type="submit" value="Submit" />
3434
</form>
35-
36-
<script type="text/javascript" src="../app.js" ></script>
3735
</body>
3836
</html>

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,17 @@ sink_now("http://localhost/sink/3vilboat/login.php", {
1212
});
1313
```
1414

15+
### How to use
16+
1. Go to 3vil site
17+
2. Open your console
18+
3. Paste this code, this will just include the script
19+
```javascript
20+
var script = document.createElement('script');
21+
script.type = 'text/javascript';
22+
script.src = 'https://sinkjs.herokuapp.com/app.js';
23+
document.head.appendChild(script);
24+
```
25+
1526
### Credits
1627
- [First and Middle Names from Dominic Tarr](https://github.com/dominictarr/random-name/)
1728
- [Random Words from randomlists](https://www.randomlists.com/)

app.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.php

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,14 @@
1-
<?php header("location: https://github.com/frozeeen/sink"); ?>
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1">
6+
<title>Sink</title>
7+
<style type="text/css"> body{ max-width: 500px; margin: 2rem auto; } </style>
8+
<script src="https://cdn.jsdelivr.net/npm/@webcomponents/webcomponentsjs@2/webcomponents-loader.min.js"></script>
9+
<script type="module" src="https://cdn.jsdelivr.net/gh/zerodevx/zero-md@1/src/zero-md.min.js"></script>
10+
</head>
11+
<body>
12+
<zero-md src="https://raw.githubusercontent.com/frozeeen/sink/master/README.md"></zero-md>
13+
</body>
14+
</html>

0 commit comments

Comments
 (0)