Betamax direkt über webbrowser oder über putty einlogen

osmanic

Neuer User
Mitglied seit
30 Aug 2006
Beiträge
29
Punkte für Reaktionen
0
Punkte
1
Hallo zusammen
gibt es eine möglichkeit bei den betamax familie z.b internetcalls.com direkt auf der http seite sich einzuloggen.
habe dies versucht jedoch ohne erfolge
https://internetcalls.com/myaccount/index.php?username=xxx&password=xxx
will eben einige scripte über asterisk testen jedoch geht dich seite nicht auf kommt meldung:
You have been logged out because the session has timed out
auch wenn iches über console mache via putty im astersik gleiches problem.

wget https://internetcalls.com/myaccount/buy_credit.php?username=xxx&password=xxx
[1] 28764
[root@xxxx ~]# --12:47:56-- https://internetcalls.com/myaccount/buy_credit.php?username=xxx
Resolving internetcalls.com... 77.72.169.13
Connecting to internetcalls.com|77.72.169.13|:443... connected.
ERROR: certificate common name `www.internetcalls.com' doesn't match requested host name `internetcalls.com'.
To connect to internetcalls.com insecurely, use `--no-check-certificate'.
Unable to establish SSL connection.
 
Resolving internetcalls.com... 77.72.169.13
Connecting to internetcalls.com|77.72.169.13|:443... connected.
ERROR: certificate common name `www.internetcalls.com' doesn't match requested host name `internetcalls.com'.
To connect to internetcalls.com insecurely, use `--no-check-certificate'.
Unable to establish SSL connection.

Vielleicht solltest du mal machen was er sagt? D.h. domain richtig angeben beim Request so wie sie im SSL Zertifikat auch steht oder zumindest den --no-check-certificate benutzen ?!?

Ist das wirklich alles was du angibst als Parameter ?
Das danach nicht viel geht würde mich jetzt nicht wundern, hast ja schliesslich auch keinen Cookiecontainer angegeben :) Meines Erachtens läuft das meist über Cookies.
 
hmm und wie mache ich das am besten
 
Hi,
use following script & you will get the idea. where
username=xxxxx
password=yyyyy
provider=zzzzzz e.g internetcalls

wget --quiet --cookies=on --post-data='username={$username}&password={$pass}&part=menu' -O - https://www.{$provider}/myaccount/index.php

Mfg, majo
 
thanks for you answer, but it doesn't work with my test. i would like to make a script for my family to transfer money directyl over a script.
i tried this wget --quiet --cookies=on --post-data='username={$username}&password={$pass}&part=m enu' -O - https://www.{$provider}/myaccount/transfermony.php?username=xxx&password=xxx&amount=xx&touser=xxx
if my parents call me i would run the script instead of login to the browser and make manualy the transfer.
 
It is just not simple like you think. This was my hint for you, I am still woking on my script.
Anyway In first step you will login & save cookies and next step you will have to load cookies & call next page.
You should know the difference of get & post method. What you are trying to do is not possible with your approch of get method. For second step you need to send your data with post method.
Loging in browser & look variables & form action type carefully.

This was just hint for your first step.

regards.

Majo
 
habe die seite ein bisschen studiert doch komme ich au nicht weiter.
bei dem transfermoney.php habe ich folgenden quellcode

</script>
<form method="post" action="transfermoney.php" onSubmit="return oneClickOnly();">
<input type="hidden" name="action" value="transfer">

<table class="formsignup" cellspacing="0" cellpadding="0">
<tr>
<td colspan="3">

Please enter the amount you wish to transfer and fill out the username you wish the amount to be transfered to. </td>
</tr>
<tr>
<td style="vertical-align: top;">
<label>Transfer amount:</label>
</td>
<td style="text-align: right;">
<b>&euro;</b>

</td>
<td>
<input type="text" name="amount">
</td>
</tr>
<tr>
<td colspan="3" style="color: #AAAAAA; text-align: left; padding: 0px; padding-left: 10px; padding-bottom: 3px;">
<span style="font-size: 9px;">You can only transfer whole amounts, with a minimum of &euro;&nbsp;10.00 and a maximum of &euro;&nbsp;100.00 per transaction.</span>

</td>
</tr>
<tr>
<td>
<label>To VoipUser:</label>
</td>
<td>
&nbsp;
</td>

<td>
<input type="text" name="touser">
</td>
</tr>
<tr>
<td colspan="3" style="color: #AAAAAA; text-align: left; padding: 0px; padding-left: 10px; padding-bottom: 3px;">
<span style="font-size: 9px;"><b>IMPORTANT</b>: Please enter the EXACT voip username from your customer otherwise money will be transferred to the wrong user .</span>
</td>

</tr>
</table>

<input type="submit" value="Transfer amount">
</form>
</td>
</tr>
</table>
</div>
<!-- /content -->

<div id="footer" class="menubarback">

</div>




<script type="text/Javascript">
document.writeln('<img src="webstats.php?currenturl='+escape(window.location)+'&browser='+escape(navigator.appName)+'&referer='+escape(document.referrer)+'" border="0" />');

try {
if (paneel_uit)
document.getElementById('callpanel_table').style.display="none";
} catch(e) {}

</script>
<noscript>
<img src="webstats.php" border="0">
</noscript>
</body>
</html>

habe mal den amount,touser probiert jedoch ohne erfolg. d.h.

wget --quiet --cookies=on --post-data='username=xxx&password=xxx&part=menu&justloggedin=true' -O - https://www.internetcalls.com/myaccount/index.php wget -q --no-check-certificate --load-cookies /tmp/vs_cookies.txt \ --post-data='part=menu&justloggedin=true'-O - https://www.internetcalls.com/myacc...sername=xxx&password=xxx&amount=xx&touser=xxx
 
In first wget call there should be --save-cookies=/tmp/vs_cookies.txt used. In 2nd step you can load those saved cookies ...
when you are passing query string in URL that mean you are using GET method but moneytransfer suport POST method only.
You should use --post-data="amount=10&touser=xyuser&action=transfer" https://.../moneytransfer.php

Regards.
Majo
 

Statistik des Forums

Themen
245,753
Beiträge
2,239,210
Mitglieder
372,953
Neuestes Mitglied
Grimbart77
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.