Posts

Showing posts from December, 2021

How to create DHCP server and a policy in the Fortigate

Here is an example script that demonstrates how to use the  fortigate-api  package to create a DHCP server and a policy in the Fortigate   from fortigate_api import FortigateAPI # Create a FortigateAPI object fgt = FortigateAPI(host="host", username="username", password="password") # Create a DHCP server data = {     "default-gateway": "192.168.255.1",     "netmask": "255.255.255.0",     "interface": "vlan.123",     "ip-range": [         {"start-ip": "192.168.255.2", "end-ip": "192.168.255.254",}     ], } fgt.dhcp_server.create(data) # Create a policy in the Fortigate data = dict(     name="POLICY",     status="enable",     action="accept",     srcintf=[{"name": "any"}],     dstintf=[{"name": "any"}],     srcaddr=[{"name": "all"}],     dstaddr=[{"name&quo

Top 10 website for learning hacking

 On the off chance that you are on this page, you are clearly searching for the best moral hacking learning sites. There's no question in the way that network safety and moral hacking experts are the need of the hour. As per the new Nasscom report, approx 1 million online protection experts will be required before the year's over. So assuming you're willing to fabricate your vocation in this field, here are the positions and professions in cybersecurity. With the quick changes concerning innovative headways, soaring the danger of digital assaults and other digital wrongdoings like never before. Considering such grave reasons, it's unmistakable to infer that learning moral hacking and surprisingly the fundamentals of network protection have now transformed into an insignificant need. Here is a fast aide on the best way to remain secured online. But when you need to learn moral hacking, there are various questions and many inquiries like, how to start, from where to begin