config.example.json 630 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. {
  2. "scan_ranges": [
  3. "192.168.1.0/24"
  4. ],
  5. "devices": [
  6. {
  7. "ip": "192.168.1.1",
  8. "type": "cisco",
  9. "username": "admin",
  10. "password": "your_password",
  11. "port": 22
  12. },
  13. {
  14. "ip": "192.168.1.2",
  15. "type": "huawei",
  16. "username": "admin",
  17. "password": "your_password",
  18. "port": 22
  19. }
  20. ],
  21. "ssh": {
  22. "timeout": 10,
  23. "max_retries": 3,
  24. "port": 22
  25. },
  26. "web": {
  27. "port": 8080,
  28. "host": "0.0.0.0"
  29. },
  30. "scanner": {
  31. "concurrency": 10,
  32. "timeout": 2
  33. },
  34. "auth": {
  35. "enabled": true,
  36. "username": "admin",
  37. "password": "admin123"
  38. }
  39. }