forked from codebutler/firesheep
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
Showing
5 changed files
with
65 additions
and
5 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,18 @@ | ||
// Authors: | ||
// Ian Gallagher <crash@neg9.org> | ||
// Dropbox seems to have recently started issuing cookies with the Secure flag set, | ||
// so this handler will not be too useful. But for people who have login sessions | ||
// more than a few weeks old at the time of it's writing, or just something odd that | ||
// happens, it will work. | ||
|
||
register({ | ||
name: 'Dropbox', | ||
url: 'https://www.dropbox.com/home#:::', | ||
domains: [ 'dropbox.com' ], | ||
sessionCookieNames: [ 'lid' ], | ||
|
||
identifyUser: function () { | ||
var resp = this.httpGet(this.siteUrl); | ||
this.userName = resp.body.querySelector("#topnav strong").textContent; | ||
} | ||
}); |
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,13 @@ | ||
// Authors: | ||
// Ian Gallagher <crash@neg9.org> | ||
register({ | ||
name: 'Evernote', | ||
url: 'https://www.evernote.com/Home.action', | ||
domains: [ 'evernote.com' ], | ||
sessionCookieNames: [ 'auth' ], | ||
|
||
identifyUser: function () { | ||
var resp = this.httpGet(this.siteUrl); | ||
this.userName = resp.body.querySelectorAll("#nav td")[2].textContent.match(/Sign out \((.*)\).*/)[1]; | ||
} | ||
}); |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// Authors: | ||
// Ian Gallagher <crash@neg9.org> | ||
register({ | ||
name: 'Slicehost SliceManager', | ||
url: 'https://manage.slicehost.com/slices', | ||
domains: [ 'manage.slicehost.com' ], | ||
sessionCookieNames: [ '_coach_session_id' ], | ||
|
||
identifyUser: function () { | ||
var resp = this.httpGet(this.siteUrl); | ||
this.userName = resp.body.querySelector("#welcome a").textContent; | ||
} | ||
}); |