Skip to content

PeanutNotCashew/pfsense-nonsense

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

pfSense scripts

pfSense scripts for blue team competitions.

Scripts are written in php and use some pfSense functions.

src file

Contains main scripts for in-competition use.

Using modify_users.php

This file by default assumes that you want to change the passwords of all users in config.xml. It sets all passwords and ssh keys of users in the config.xml file to the same values.

There are two options for changing passwords:

  • Entering passwords via the command line. This exposes passwords to anyone viewing your screen or any keyloggers.
  • Using a pre-hashed password from a file (must be bcrypt). mk_hash_file can be used to pre-make these files.

This file also allows you to change ssh keys. It loads the plain public ssh key from a file.

TODO: allow different passwords/keys for different users TODO: allow not changing passwords

helpers directory

Contains files which are useful for testing or prebaking

About

pfSense scripts for blue team competitions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages