• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Crok
    3. Topics
    C
    • Profile
    • Following 0
    • Followers 0
    • Topics 4
    • Posts 21
    • Groups 0

    Topics

    • C

      [Resolved] How can i use FOG WOL in python3 script

      Watching Ignoring Scheduled Pinned Locked Moved General Problems
      7
      0 Votes
      7 Posts
      1k Views
      S

      @Crok Ok, now I got you. Unfortunately I won’t have enough time to come up with a solution to that. So you need to try it yourself. To get back to the initial request, a quick search on the web revealed many projects/libs/… that do wake on lan in python:
      https://pypi.org/project/wakeonlan/
      https://github.com/bentasker/Wake-On-Lan-Python
      https://gist.github.com/rschuetzler/8854764

      So it’s just a matter of getting into coding and get it done. This has nothing much to do with what we can do for you as a FOG team.

    • C

      [Resolved] Extract hosts.csv with script python3

      Watching Ignoring Scheduled Pinned Locked Moved General
      5
      0 Votes
      5 Posts
      643 Views
      C

      my script work \o/

      #-*- coding: UTF-8 -*- import requests headers = {'User-Agent': 'Mozilla/5.0'} payload = {'uname': 'fog', 'upass' : 'bar', 'ulang' : 'English', 'login': ''} headers2 = {'User-Agent': 'Mozilla/5.0', 'Referer': 'http://IP/fog/management/index.php?node=host&sub=export'} payload2 = {'fogguiuser' : 'fog', 'fogguipass' : 'bar', 'nojson' : ''} s = requests.Session() r = s.post("http://IP/fog/management/index.php?node=home", headers=headers, data=payload) print ("[+] Connexion OK") s.get("http://IP/fog/management/index.php?node=host&sub=export") u = s.post("http://IP/fog/management/export.php?type=host", headers=headers2, data=payload2, stream = True) mon_fichier = open("C:\\my\\Path\\hosts.txt", "w") mon_fichier.write(u.text) mon_fichier.close() print ("[+] Enregistrement terminé")

      thxs for your help.

    • C

      TFTOBOOT folder missing - FOG 1.5.2

      Watching Ignoring Scheduled Pinned Locked Moved Solved FOG Problems
      9
      0 Votes
      9 Posts
      1k Views
      Q

      With FOG installed you should go to FOG Configuration under settings and find the Proxy settings and fill those in if you haven’t already. Hopefully it will all be good with that.

    • C

      Problem Deploying Dell3010

      Watching Ignoring Scheduled Pinned Locked Moved Windows Problems
      17
      0 Votes
      17 Posts
      8k Views
      C

      Finally, my problem to deploying came from network Access control list.
      Thanxs for your help. 😉

    • 1 / 1