Hack Forums
[C#] Verify twitter/facebook/reddit handle exists - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [C#] Verify twitter/facebook/reddit handle exists (/showthread.php?tid=5980664)



Verify twitter/facebook/reddit handle exists - gigajew - Jun 17, 2019

haven't really seen anyone make this before so here it goes. original content. don't forget to spread the love (check sig)

usage:


sauce:


reddit:


pastebin:



RE: Verify twitter/facebook/reddit handle exists - deiski - Jun 17, 2019

Thanks for the share mate.

Here before someone picks apart your code.


RE: Verify twitter/facebook/reddit handle exists - gigajew - Jun 17, 2019

Yep surprised 0xdeaddead hasn’t picked it like a booger yet


RE: Verify twitter/facebook/reddit handle exists - Suspect. - Jun 18, 2019

Cool release if someone is looking to create a handle checker. Though any particular reason for using an SSLStream rather than plain old http request?


RE: Verify twitter/facebook/reddit handle exists - gigajew - Jun 18, 2019

(Jun 18, 2019 08:08 AM)Suspect. Wrote:  Cool release if someone is looking to create a handle checker. Though any particular reason for using an SSLStream rather than plain old http request?

Yes. Most of the big services will throw a 302 your way to redirect to https and therefore does not reveal much interesting data


RE: Verify twitter/facebook/reddit handle exists - Washi - Jun 18, 2019

(Jun 17, 2019 09:17 PM)gigajew Wrote:  Yep surprised 0xdeaddead hasn’t picked it like a booger yet

What do you expect from a programming section? Is it weird for people to comment on your code and think critically? You seem surprised by it, yet that's kind of the point of a forum, to stir up discussion. Yet you seem to not want any of that every time you post and some people comment on it. 🤨

On the source code you posted: care to elaborate by the way why you chose to manually construct an HTTP request by manually setting up an SSL stream? Why not just use the built in features of .NET to handle all that for you?


RE: Verify twitter/facebook/reddit handle exists - gigajew - Jun 18, 2019

(Jun 18, 2019 09:27 AM)Washi Wrote:  What do you expect from a programming section? Is it weird for people to comment on your code and think critically? You seem surprised by it, yet that's kind of the point of a forum, to stir up discussion. Yet you seem to not want any of that every time you post and some people comment on it. 🤨

On the source code you posted: care to elaborate by the way why you chose to manually construct an HTTP request by manually setting up an SSL stream? Why not just use the built in features of .NET to handle all that for you?
Oh I don’t mind constructive criticism at all, I was just saying he’s really picky.
Also to answer your question; because anything I don’t need from webrequest or webclient is wasted resources


RE: Verify twitter/facebook/reddit handle exists - deiski - Jun 18, 2019

(Jun 18, 2019 10:13 AM)gigajew Wrote:  Oh I don’t mind constructive criticism at all, I was just saying he’s really picky.
Also to answer your question; because anything I don’t need from webrequest or webclient is wasted resources

Well said response.


RE: Verify twitter/facebook/reddit handle exists - SaketSaket - Jun 19, 2019

Awesome work buddy... Keep sharing...


RE: Verify twitter/facebook/reddit handle exists - henkhamerman - Jun 20, 2019

thats sick... thanks for sharing this