-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Works at last. Need to fix chal parsing
- Loading branch information
1 parent
2dd614f
commit 549fa4f
Showing
4 changed files
with
56 additions
and
56 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
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,20 +0,0 @@ | ||
const request = require("request-promise-native"); | ||
const tough = require("tough-cookie"); | ||
const Cookie = tough.Cookie; | ||
|
||
let cookieJar = request.jar() | ||
|
||
options = { | ||
jar: cookieJar, | ||
resolveWithFullResponse: true | ||
} | ||
|
||
async function roflol() { | ||
await request("http://localhost:5000/setc", options) | ||
console.log(cookieJar) | ||
cookieJar = request.jar() | ||
console.log(cookieJar) | ||
// await request("http://localhost:5000/setc", options) | ||
} | ||
|
||
roflol() | ||