Hello There, Guest!
View New Posts  |  View Today's Posts
[VB.Net] MyBB Login Utility - Login to most MyBB websites

  • 1 Vote(s) - 5 Average


03-16-2015, 09:57 PM #31
AceInfinity
Developer
*******
Administrators
Posts: 9,733 Threads:1,026 Joined: Jun 2011 Reputation: 76

RE: MyBB Login Utility - Login to most MyBB websites
Small example:
Code:
Dim WithEvents MyBB As New Utility()
Sub StatusReceivedHandler(ByVal s As String) Handles MyBB.StatusReceived
  MessageBox.Show(s)
End Sub

Code:
MyBB.ForumURL = "http://tech.reboot.pro"
MyBB.Username = "username"
MyBB.Password = "password"
MyBB.Login()

('Utility' isn't the best name for the class, but you can rename it if you want...)

The problem might be that you're using 'http://krisgame.com' instead of 'http://krisgame.com/forum'... Give it a try.
This post was last modified: 03-16-2015, 09:58 PM by AceInfinity.


Microsoft MVP .NET Programming - (2012 - Present)
®Crestron DMC-T Certified Automation Programmer

Development Site: aceinfinity.net

 ▲
 ▲ ▲

03-17-2015, 02:20 AM #32
kristiankar67
Junior Member
**
Posts: 8 Threads:0 Joined: Mar 2015 Reputation: 0

RE: MyBB Login Utility - Login to most MyBB websites

03-17-2015, 02:23 AM #33
kristiankar67
Junior Member
**
Posts: 8 Threads:0 Joined: Mar 2015 Reputation: 0

RE: MyBB Login Utility - Login to most MyBB websites
works using wrong account lol

03-17-2015, 02:27 AM #34
kristiankar67
Junior Member
**
Posts: 8 Threads:0 Joined: Mar 2015 Reputation: 0

RE: MyBB Login Utility - Login to most MyBB websites
weird, the passwords are different on my forum and the password box

03-17-2015, 02:49 AM #35
kristiankar67
Junior Member
**
Posts: 8 Threads:0 Joined: Mar 2015 Reputation: 0

RE: MyBB Login Utility - Login to most MyBB websites
only login worked once with once account. Is this for 1.8 may that be the reason

03-19-2015, 11:48 PM #36
AceInfinity
Developer
*******
Administrators
Posts: 9,733 Threads:1,026 Joined: Jun 2011 Reputation: 76

RE: MyBB Login Utility - Login to most MyBB websites
Password box does not matter, that is an effect only. The way the POST request is sent is what really matters. Webrequests do not "push buttons" on a webpage, that's not how they work.


Microsoft MVP .NET Programming - (2012 - Present)
®Crestron DMC-T Certified Automation Programmer

Development Site: aceinfinity.net

 ▲
 ▲ ▲

09-15-2015, 03:21 AM #37
setfixed
Junior Member
**
Posts: 2 Threads:0 Joined: Sep 2015 Reputation: 0

RE: MyBB Login Utility - Login to most MyBB websites
hi

i know this post is for last but new logout need logoutkey

can you write code for logout with logout key ?

09-16-2015, 03:38 PM #38
sh@rp
Member
**
Posts: 199 Threads:11 Joined: Feb 2012 Reputation: 10

RE: MyBB Login Utility - Login to most MyBB websites
(09-15-2015, 03:21 AM)setfixed Wrote:  hi

i know this post is for last but new logout need logoutkey

can you write code for logout with logout key ?

Hi,

You could retrieve this logout Key into the webresponse content after you logged in and redirected to the index.php page :


Code:
Welcome back, <strong>sh@rp</strong>!
<a class="panel_button float_right" href="http://tech.reboot.pro/member.php?action=logout&amp;logoutkey=72853c1f4d69798b33293d7769f9f58d" title="Log Out"><i class="fa fa-sign-out"></i></a>

09-17-2015, 07:08 AM #39
setfixed
Junior Member
**
Posts: 2 Threads:0 Joined: Sep 2015 Reputation: 0

RE: MyBB Login Utility - Login to most MyBB websites
i dont underestand .

can you give me code in vb.net ?

09-20-2015, 09:01 AM #40
sh@rp
Member
**
Posts: 199 Threads:11 Joined: Feb 2012 Reputation: 10

RE: MyBB Login Utility - Login to most MyBB websites
(09-17-2015, 07:08 AM)setfixed Wrote:  i dont underestand .

can you give me code in vb.net ?

No personal work no code !  Glare

You must analyze the traffic by using a web debugger to understand ....




Forum Jump:


Possibly Related Threads...
Thread Author Replies Views Last Post
   Screenshot Utility with Auto Upload KoBE 12 8,652 08-28-2014, 08:12 PM
Last Post: KoBE
   [Source] Twitter Login/Post Tweet Example (Without API, SDK or Webbrowser) idb.exe 10 11,245 06-06-2014, 11:16 PM
Last Post: hoangseo
  login to the site with get method kenshiro 3 2,375 05-19-2014, 09:58 AM
Last Post: KoBE
   Login to a Website using WebRequests. KoBE 74 53,742 04-12-2014, 02:03 PM
Last Post: Mariusz12345
  How to make httpwebrequest login facebok account in listbox DilarangMasuk 3 3,291 10-05-2013, 10:51 AM
Last Post: AceInfinity


Users browsing this thread: 1 Guest(s)