Navigation

    Netgate Discussion Forum
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    Scripted/Auto Web GUI Login…..

    webGUI
    2
    3
    943
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      tristonamherst last edited by

      Hey Team PFSense,

      Can't believe I've been a pfsense user for donkeys years and only now just registered - but I have an issue that has stumped me (and also our web-developer!)

      I'd really like to be able to automate the logging in process to the webgui.

      e.g.

      http://192.168.1.1/index.php?username=foo&password=bar

      We could then include a link in our asset management system - so that techs can connect to the client VPN - and then hit a single link.

      Any ideas would be appreciated.  I understand from my web developer who has looked - that javascript and a POST request are both being used - which makes the process much harder to do.

      TIA!

      T

      1 Reply Last reply Reply Quote 0
      • T
        tristonamherst last edited by

        I know being the first to reply to my own post probably isn't cool - but I may put this out to bounty.

        I had a thought that maybe someone who knows how the GUI login process works could write a new PHP (e.g. autoscriptlogin.php) and we could then pass variables directly to it

        e.g. http://192.168.1.1/autoscriptlogin.php?username=admin&password=foobar

        Hmmm….just a thought!

        1 Reply Last reply Reply Quote 0
        • R
          robi last edited by

          You might want to disable auto CSRF…

          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          Products

          • Platform Overview
          • TNSR
          • pfSense Plus
          • Appliances

          Services

          • Training
          • Professional Services

          Support

          • Subscription Plans
          • Contact Support
          • Product Lifecycle
          • Documentation

          News

          • Media Coverage
          • Press
          • Events

          Resources

          • Blog
          • FAQ
          • Find a Partner
          • Resource Library
          • Security Information

          Company

          • About Us
          • Careers
          • Partners
          • Contact Us
          • Legal
          Our Mission

          We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

          Subscribe to our Newsletter

          Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

          © 2021 Rubicon Communications, LLC | Privacy Policy