Hack Forums
[.NET] Login Account checker - 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: [.NET] Login Account checker (/showthread.php?tid=1573787)



Login Account checker - rAtoN - Aug 7, 2011

Hi I want to make an account login checker
any idea how to make it

Webside: taringa.net
Login: http://www.taringa.net/login.php
post method:
nick=account&pass=password&r=

Code
<div class="identificarme">
    <a class="iniciar_sesion" href="javascript:open_login_box()" title="Identificarme">Identificarme</a>
</div>
<div id="login_box"><div class="login_header"><img style="display:none" alt="" src="http://o2.t26.net/images/cerrar.png" class="login_cerrar" onclick="close_login_box();" title="Cerrar mensaje" /></div>
<div class="login_cuerpo">
  <span id="login_cargando" class="gif_cargando floatR"></span>
  <div id="login_error"></div>
    <form method="post" action="javascript:login_ajax()">
        <label>Usuario</label>
        <input maxlength="64" name="nick" id="nickname" class="ilogin" type="text" />
        <label>Contrase&ntilde;a</label>
        <input maxlength="64" name="pass" id="password" class="ilogin" type="password" />
        <input class="mBtn btnOk" style="width:198px" value="Entrar" title="Entrar" type="submit" />
        <div class="floatR" style="color: #666; padding:5px;font-weight: normal; display:none">

I made this any idea??

Code
Public Class Form1

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
  WebBrowser1.Document.GetElementById("nickname").SetAttribute("value", TextBox1.Text)
  WebBrowser1.Document.GetElementById("password").SetAttribute("value", TextBox2.Text)

  WebBrowser1.Document.GetElementById("login_footer").InvokeMember("click")
    End Sub

    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
  WebBrowser1.Navigate("http://taringa.net/")
    End Sub
End Class



* - 0xDEAD10CC - Aug 7, 2011

HTTP live headers, get the POST data and the rest of the information sent in for a login and use webrequests. Not sure what the heck your web browser control is supposed to do with this.


* - rAtoN - Aug 7, 2011

I try i update post any idea it is harder because i think taringa.net use cookie


* - 0xDEAD10CC - Aug 7, 2011

(Aug 7, 2011 05:20 PM)rAtoN Wrote:  I try i update post any idea it is harder because i think taringa.net use cookie

So? then use a cookie container with the keepalive property set to true for the webrequest


* - rAtoN - Aug 7, 2011

It use a rare method of java post .. Any idea


* - Deceptive - Aug 7, 2011

(Aug 7, 2011 05:58 PM)rAtoN Wrote:  It use a rare method of java post .. Any idea

It's not a "rare method" LOL. It's actually quite easy to do.


* - rAtoN - Aug 7, 2011

Can you tell me how??..
Any one can tell me how??


* - 0xDEAD10CC - Aug 7, 2011

I just gave you ideas, show some initiative and some effort on your part. Is this what HF members have come to? Taking shortcuts by asking others to do everything for them?


* - rAtoN - Aug 8, 2011

Someone can gave
Me an idea??



* - lucascarder - Aug 11, 2011

you shouldn't use Webbrowser...take at look at my source here hackforums.net/showthread.php?tid=1586152
you should get the idea...