LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-17-2018, 03:41 PM   #1
luquee
LQ Newbie
 
Registered: Jul 2008
Posts: 11

Rep: Reputation: 0
Monitor


hello I am interested in obtaining information from a web page which I try to access with curl

the key is the number zero 0

what parameters should I pass to additional curl to enter the 0 and click ok

The page code is

<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=windows-1252">
<meta name="robots" content="noindex">
<title>IB-Lite access verification</title>
<link rel=StyleSheet type="text/css" href="style.css">
<script type="text/javascript" src="md5.js"></script>

<script language="JavaScript">
function DoHash()
{
var psw = document.getElementById('psw_id');
var hpsw = document.getElementById('hpsw_id');
var nonce = hpsw.value;
hpsw.value = MD5(nonce.concat(psw.value));
psw.value = '';
return true;
}
</script>
</head>
<body class=w_b>
<div class="main">
<!-- 0 71 0 16 67 0 19 68 0#--><div class="sb_d">
<table class="sb_t" align="center">
<tr>
<td class="sb_l"><img src="logo.gif"></td>
<td class="sb_1">OT17-59</td>
<td class="sb_2">15:29:20</td>
<td class="sb_3">17/05/18</td>
</tr>
</table>
</div>

<div class="tb_d">
<table class="tb_t" cellspacing="0">
<tr>
<td class="tb_st"><img src="scada.gif"><a href="control.htm" class="tb_sa">Scada</a></td>
<td class="tb_ut"><img src="meas.gif"><a href="values.htm" class="tb_ua">Measurement</a></td>
<td class="tb_ut"><img src="setp.gif"><a href="params.htm" class="tb_ua">Setpoints</a></td>
<td class="tb_ut"><img src="hist.gif"><a href="history.htm" class="tb_ua">History</a></td>
<td class="tb_uit"><a href="settings.htm" class="tb_usa"></a></td>
<td class="tb_uit"><a href="password.htm" class="tb_p0a"></a></td>
<td class="tb_uit"><a href="refresh.htm" class="tb_rea"></a></td>
<td class="tb_uit"><a href="exit.htm" class="tb_exa"></a></td>
</tr>
</table>
</div>

<div class="content">
<form action="CONTROL.HTM" name="" method="post" onSubmit="DoHash();">
<div style="position:absolute;top:40px;left:40px;width:500px;height:140px" class="frame">
<table class="w_tb"><tr><td>
<table width="90%" class="w_t">
<tr class="w_r"><td class="w_n">Access code</td><td width="140" class="w_v"><input id="psw_id" type="password" maxLength="15" size="20" name="q" value=""></td></tr>
<tr class="w_lr"><td class="w_ln">&nbsp;</td><td></td></tr>
</table>
<table width="90%" class="w_btn">
<tr><td><input type="submit" value="" name="q" class="w_bok"></td></tr>
</table>
</td></tr></table>
<input id="hpsw_id" type="hidden" name="pA" value="4AF846AB45C91F93">
</div>
</form>
</div>
</div>
</body>
</html>

Thanks
 
  


Reply

Tags
curl



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
monitor broke, switched to new monitor, now have unsupported resolution black screen sdowney717 Linux - Newbie 1 07-08-2016 09:33 AM
Lower resolution on monitor after KVM hookup. Monitor switched from Acer to Unknown. anonku Linux - General 2 02-04-2015 09:33 PM
Ubuntu/GNOME dual monitor setup: Preferring the primary monitor Doc CPU Linux - Desktop 2 09-05-2011 04:58 AM
Mouse click on monitor 1 kills full-screen in flash on monitor 2. Can this be fixed? damgar Linux - Software 12 02-23-2010 11:39 PM
Dual Monitor: 2nd monitor not coming up -- xorg.conf missing something? Hewson Linux - Hardware 3 10-20-2009 11:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration