* Fix ioutil deprecation and use xdg paths instead (wip) * Clean up deprecated ioutil references, add config directory structure creation and run entry creation * Add wordlist position setting and FFUFHASH variable * Save full wordlist paths and print out a raw request when searched * Cast from string to 32bit integer, 2billion should be enough for a position * Use correct format strings for float
16 lines
334 B
Go
16 lines
334 B
Go
package ffuf
|
|
|
|
import (
|
|
"github.com/adrg/xdg"
|
|
"path/filepath"
|
|
)
|
|
|
|
var (
|
|
//VERSION holds the current version number
|
|
VERSION = "1.5.0"
|
|
//VERSION_APPENDIX holds additional version definition
|
|
VERSION_APPENDIX = "-dev"
|
|
CONFIGDIR = filepath.Join(xdg.ConfigHome, "ffuf")
|
|
HISTORYDIR = filepath.Join(CONFIGDIR, "history")
|
|
)
|