Jump to content

wepee

Members
  • Posts

    8
  • Joined

  • Last visited

Everything posted by wepee

  1. Hello All, I have no or limited knowledge about programming stuff. This is a continuation of what I did last year 2015. I am writing to this post again because I have discovered something new, that I have never discovered before back in Dec 2015. My script that was contributed by forum members, unfortunately, it is infected with Malware. Please see the attached pdf files, where I submitted the script to Virustotal to check for virus. I have attached the script below. I hope someone can inform me whether my script is CLEAN or False Positive or Malware. The reason, I am asking for help here, is my antivirus vendor has rejected my request to investigate my script, since I created by myself although I have submitted the file to them. Thank you. Automatically_Open_up_IE_create_SynoSurvStation_login.exe VirusTotal_Scan_Result-Automatically_Open_up_IE_create_SynoStation_login.exe1.pdf VirusTotal_Scan_Result-Automatically_Open_up_IE_create_SynoStation_login.exe2.pdf VirusTotal_Scan_Result-Automatically_Open_up_IE_create_SynoStation_login.exe3.pdf VirusTotal_Scan_Result-Automatically_Open_up_IE_create_SynoStation_login.exe4.pdf Auto_Open_up_IE_create_sss_login.au3
  2. Hello again, I would like to thank again, to aa2zz6 and mLipok. I did a search on the forum, and found some information about open up IE in maximized window Here is the link: Create a browser window and maximize it After play around it, through trial and error, I finally nailed it. Below is the final product. This code will automatically sign into IE, loads Synology Surveillance Station web page, with username and password, and auto click the Sign in button.
  3. Ok, success!!! Next, How to MAXIMIZE the Internet Explorer??? By default it is running on Minimize mode. See the picture below.
  4. OK, I have another crack on it, I think I found the correct ID = login_username
  5. Here is the full copy of the DOM tree. If someone can have a crack with it, you are most welcome.
  6. Hi, aa2zz6 and mLipok, Thank you for replying. I have problem finding the correct ID from the DOM Tree. I have tried to place all possible ID but it does not work.
  7. #include <IE.au3> Call ("SignIn") Func SignIn () Global $oIE = _IECreate ("http://192.168.1.251/sss") Local $oIFrame = _IEGetObjById($oIE, 'login_iframe') Local $oUserName = _IEGetObjById($oIFrame, '....') ; I suppouse that this ID is in one TD element above Local $oPassword = _IEGetObjById($oIFrame, 'login_passwd') _IEFormElementSetValue ($oUserName, "admin") _IEFormElementSetValue ($oPassword, "123456") EndFuncHi, mLipok, Thank you for replying. I am really a noob here, I just basically do a copy and paste job. But there is an error....... The username is blank, what I have wrong here? The password is ok. By right there should 2 variables, username and password, right? What does the "$oFrame" variable means? Below is the error message: >"C:\Program Files (x86)\AutoIt3\SciTE\..\autoit3.exe" /ErrorStdOut "C:\Users\marcus\Documents\Open_up_IE_create_sss_login.au3" --> IE.au3 T3.0-2 Warning from function _IEGetObjById, $_IESTATUS_NoMatch (....) --> IE.au3 T3.0-2 Error from function _IEFormElementSetValue, $_IESTATUS_InvalidDataType >Exit code: 0 Time: 2.098
  8. Hello all, First of all I have no programming and no html knowledge. So I some help here from someone who knows it all. Why I need to use AutoIt....... I have a synology NAS, installed Synology Surveillance Station package, which runs like a NVR (Network Video Recorder) for my mum's home CCTV surveillance. On a separate PC, I have a Windows 7 x64. In order to do CCTV live viewing, I need to run IE and login the web page to check out what is happening. This PC is running 24/7 non stop. That is IE is running day and night, non stop. The problem is every time there is a Power interruption, my windows PC will reboot and then I have to login manually. It is not a problem if it hapens at my home, but it is a real problem when I have to drive to my mum's home, to do it manually for her as she does not know how to use computer. I cannot afford to buy a UPS, because it has already being used for the NAS itself. So, I decide to find a way to do auto login to IE, when the Windows 7 reboots every time there is a power glitch. As usual, before I beg someone for help, I tried to help myself, by doing a seach on Google. I came across this person from youtube, sharing how to do auto login using IE for logging into a website: Here is the link: AutoIT - how to make an auto login bot However, I am stuck, I rung Chrome browser, and do "inspect element" on the web page. I cannot find out what is the username and password to fill in. That is I need to fill the top line is "admin" and bottom line is "123456" on the login page. Please see the attachment. Most appreciate if someone can provide me some guidance. Thank you.
×
×
  • Create New...