SYMBOL INDEX (938 symbols across 137 files) FILE: agent/internal/config/config.go type Config (line 11) | type Config struct function LoadConfig (line 22) | func LoadConfig(configPath string) (config Config) { FILE: agent/internal/handler/file.go type Lockfile (line 19) | type Lockfile interface method getFilePath (line 24) | func (h *Handler) getFilePath(fileID string) (string, error) { method downloadFile (line 33) | func (h *Handler) downloadFile(fileID string) error { method handleDownloadFileRequest (line 79) | func (h *Handler) handleDownloadFileRequest(msg *wstypes.Message) error { method handleDeleteFileRequest (line 115) | func (h *Handler) handleDeleteFileRequest(msg *wstypes.Message) error { FILE: agent/internal/handler/handler.go type ActiveJob (line 23) | type ActiveJob struct type Handler (line 29) | type Handler struct method sendMessage (line 39) | func (h *Handler) sendMessage(msgType string, payload interface{}) err... method sendMessageUnbuffered (line 51) | func (h *Handler) sendMessageUnbuffered(msgType string, payload interf... method handleMessage (line 64) | func (h *Handler) handleMessage(msg *wstypes.Message) error { method readLoop (line 83) | func (h *Handler) readLoop(ctx context.Context) error { method writeLoop (line 109) | func (h *Handler) writeLoop(ctx context.Context) error { method Handle (line 123) | func (h *Handler) Handle() error { function apiEndpointToWSEndpoint (line 140) | func apiEndpointToWSEndpoint(apiEndpoint string) (string, error) { function run (line 157) | func run(conf *config.Config) error { FILE: agent/internal/handler/heartbeat.go function getFileDTOs (line 11) | func getFileDTOs(dir string) ([]wstypes.FileDTO, error) { method sendHeartbeat (line 41) | func (h *Handler) sendHeartbeat() error { FILE: agent/internal/handler/job.go method handleJobStart (line 15) | func (h *Handler) handleJobStart(msg *wstypes.Message) error { method handleJobKill (line 24) | func (h *Handler) handleJobKill(msg *wstypes.Message) error { method sendJobStarted (line 33) | func (h *Handler) sendJobStarted(jobId string, hashcatCommand string) { method sendJobStdoutLine (line 41) | func (h *Handler) sendJobStdoutLine(jobId, line string) { method sendJobStderrLine (line 49) | func (h *Handler) sendJobStderrLine(jobId, line string) { method sendJobExited (line 57) | func (h *Handler) sendJobExited(jobId string, reason string, err error) { method sendJobCrackedHash (line 79) | func (h *Handler) sendJobCrackedHash(jobId string, result hashcattypes.H... method sendJobStatusUpdate (line 86) | func (h *Handler) sendJobStatusUpdate(jobId string, status hashcattypes.... method sendJobFailedToStart (line 93) | func (h *Handler) sendJobFailedToStart(jobId string, err error) { method runJob (line 124) | func (h *Handler) runJob(job wstypes.JobStartDTO) error { method killJob (line 209) | func (h *Handler) killJob(jobMsg wstypes.JobKillDTO) error { FILE: agent/internal/handler/run.go function Run (line 7) | func Run(conf *config.Config) error { FILE: agent/internal/handler/run_windows.go function Run (line 19) | func Run(conf *config.Config) error { type agentService (line 30) | type agentService struct method Execute (line 55) | func (m *agentService) Execute(args []string, r <-chan svc.ChangeReque... function runService (line 34) | func runService(c config.Config) { FILE: agent/internal/hashcat/constants.go constant Hashcat (line 5) | Hashcat = "hashcat.bin" FILE: agent/internal/hashcat/constants_windows.go constant Hashcat (line 5) | Hashcat = "hashcat.exe" FILE: agent/internal/hashcat/hashcat.go type HashcatParams (line 24) | type HashcatParams method Validate (line 42) | func (params HashcatParams) Validate() error { method maskArgs (line 82) | func (params HashcatParams) maskArgs() ([]string, error) { method ToCmdArgs (line 123) | func (params HashcatParams) ToCmdArgs(conf *config.Config, session, te... type HashcatStatusGuess (line 26) | type HashcatStatusGuess type HashcatStatusDevice (line 28) | type HashcatStatusDevice type HashcatResult (line 32) | type HashcatResult constant AttackModeDictionary (line 35) | AttackModeDictionary = 0 constant AttackModeCombinator (line 36) | AttackModeCombinator = 1 constant AttackModeMask (line 37) | AttackModeMask = 3 constant AttackModeHybridDM (line 38) | AttackModeHybridDM = 6 constant AttackModeHybridMD (line 39) | AttackModeHybridMD = 7 type uintIf (line 74) | type uintIf interface function fmtUint (line 78) | func fmtUint[T uintIf](x T) string { function findBinary (line 216) | func findBinary(conf *config.Config) (path string, err error) { type HashcatSession (line 239) | type HashcatSession struct method Start (line 252) | func (sess *HashcatSession) Start() error { method Kill (line 355) | func (sess *HashcatSession) Kill() error { method Cleanup (line 369) | func (sess *HashcatSession) Cleanup() { method CmdLine (line 391) | func (sess *HashcatSession) CmdLine() string { function NewHashcatSession (line 395) | func NewHashcatSession(id string, hashes []string, params HashcatParams,... FILE: agent/internal/installer/hashcat_install.go function installHashcat (line 18) | func installHashcat(installConf InstallConfig) { function extractTarGz (line 66) | func extractTarGz(targetDirectory string, stream io.Reader) error { FILE: agent/internal/installer/installer.go type InstallConfig (line 23) | type InstallConfig struct constant serviceUnitFilePath (line 47) | serviceUnitFilePath = "/etc/systemd/system/phatcrack-agent.service" function writeAuthKeyFile (line 49) | func writeAuthKeyFile(installConf InstallConfig) { function writeConfigFile (line 64) | func writeConfigFile(installConf InstallConfig) { function setupPaths (line 92) | func setupPaths(installConf InstallConfig) { function Run (line 103) | func Run(installConf InstallConfig) { function applyDefaults (line 134) | func applyDefaults(installConf *InstallConfig) { function input (line 205) | func input(p string, a ...any) string { function getOptionsInteractive (line 212) | func getOptionsInteractive(installConf *InstallConfig) { function checkConf (line 259) | func checkConf(installConf InstallConfig) error { function RunInteractive (line 298) | func RunInteractive() { function DefaultPathJoin (line 363) | func DefaultPathJoin(parts ...string) string { function adjustPermsPath (line 378) | func adjustPermsPath(path string, installConf InstallConfig) { function makeHttpClient (line 384) | func makeHttpClient(disableTlsVerification bool) *http.Client { FILE: agent/internal/installer/register.go function RegisterWithKey (line 16) | func RegisterWithKey(conf *InstallConfig) (*apitypes.AgentRegisterRespon... function registerIfRequired (line 71) | func registerIfRequired(installConf *InstallConfig) { FILE: agent/internal/installer/utils.go function isElevated (line 14) | func isElevated() error { function adjustPerms (line 27) | func adjustPerms(f *os.File, installConf InstallConfig) { function getUidAndGid (line 32) | func getUidAndGid(installConf InstallConfig) (int, int) { function installService (line 48) | func installService(installConf InstallConfig) { FILE: agent/internal/installer/utils_windows.go constant ServiceName (line 15) | ServiceName = "phatcrack-agent" function isElevated (line 17) | func isElevated() error { function adjustPerms (line 25) | func adjustPerms(f *os.File, installConf InstallConfig) { function installService (line 29) | func installService(installConf InstallConfig) { FILE: agent/internal/lockfile/lockfile.go type Lockfile (line 16) | type Lockfile struct method MyID (line 54) | func (l *Lockfile) MyID() string { method Acquire (line 58) | func (l *Lockfile) Acquire(ctx context.Context) error { method AcquireWithTimeout (line 74) | func (l *Lockfile) AcquireWithTimeout(timeout time.Duration) error { method tryAcquire (line 80) | func (l *Lockfile) tryAcquire() error { method readData (line 119) | func (l *Lockfile) readData() (*lockdata, error) { method ensureHeld (line 135) | func (l *Lockfile) ensureHeld() error { method write (line 148) | func (l *Lockfile) write(create bool) error { method startWriting (line 174) | func (l *Lockfile) startWriting() { method writeLoop (line 180) | func (l *Lockfile) writeLoop(ctx context.Context) { method Unlock (line 197) | func (l *Lockfile) Unlock() { method delete (line 207) | func (l *Lockfile) delete() error { constant writeInterval (line 26) | writeInterval = time.Second constant staleAge (line 29) | staleAge = 10 * time.Second constant afterStaleDelay (line 33) | afterStaleDelay = 3 * time.Second type lockdata (line 36) | type lockdata struct method isStale (line 42) | func (data lockdata) isStale() bool { function New (line 48) | func New(path string) *Lockfile { FILE: agent/internal/lockfile/lockfile_dummy.go type LockfileDummy (line 5) | type LockfileDummy struct method AcquireWithTimeout (line 7) | func (l *LockfileDummy) AcquireWithTimeout(timeout time.Duration) error { method Unlock (line 11) | func (l *LockfileDummy) Unlock() { function NewDummy (line 15) | func NewDummy() *LockfileDummy { FILE: agent/internal/util/backoff.go type BackoffEntry (line 5) | type BackoffEntry struct type Backoff (line 10) | type Backoff struct method Start (line 17) | func (b *Backoff) Start() { method Ready (line 23) | func (b *Backoff) Ready() bool { FILE: agent/internal/util/util.go function UnmarshalJSON (line 5) | func UnmarshalJSON[T interface{}](jsonBlob string) (out T, err error) { FILE: agent/internal/version/version.go function Version (line 5) | func Version() string { FILE: agent/internal/wswrapper/wswrapper.go type WSWrapper (line 20) | type WSWrapper struct method WriteJSON (line 35) | func (w *WSWrapper) WriteJSON(v interface{}) error { method WriteJSONUnbuffered (line 41) | func (w *WSWrapper) WriteJSONUnbuffered(v interface{}) error { method ReadJSON (line 52) | func (w *WSWrapper) ReadJSON(v interface{}) error { method handle (line 57) | func (w *WSWrapper) handle() error { method Setup (line 101) | func (w *WSWrapper) Setup() { method Run (line 106) | func (w *WSWrapper) Run(notifyFirstConn *sync.Cond) error { FILE: agent/main.go function main (line 16) | func main() { function run (line 69) | func run() { FILE: api/internal/accesscontrol/accesscontrol.go function HasOwnershipRightsToProject (line 10) | func HasOwnershipRightsToProject(user *db.User, project *db.Project) bool { function HasRightsToProject (line 14) | func HasRightsToProject(user *db.User, project *db.Project) bool { function HasRightsToProjectID (line 32) | func HasRightsToProjectID(user *db.User, projId string) (bool, error) { function HasRightsToHashlistID (line 47) | func HasRightsToHashlistID(user *db.User, hashlistId string) (bool, erro... function HasRightsToJobID (line 63) | func HasRightsToJobID(user *db.User, jobID string) (bool, error) { FILE: api/internal/attacksharder/attacksharder.go function splitMask (line 32) | func splitMask(inputMask string, numChunks int) (outputMask string, outp... function createSingleJobfromAttack (line 73) | func createSingleJobfromAttack(attack *db.Attack) (*db.Job, *db.Hashlist... function shardMaskAttack (line 101) | func shardMaskAttack(attack *db.Attack, numJobs int) ([]*db.Job, *db.Has... function hashHashcatSettings (line 155) | func hashHashcatSettings(params hashcattypes.HashcatParams) (string, err... function getKeyspace (line 164) | func getKeyspace(params hashcattypes.HashcatParams) (int64, error) { function shardAttackByKeyspace (line 186) | func shardAttackByKeyspace(attack *db.Attack, numJobs int) ([]*db.Job, *... function MakeJobs (line 241) | func MakeJobs(attack *db.Attack, maxNumJobs int) ([]*db.Job, *db.Hashlis... FILE: api/internal/auth/header_auth_middleware.go function CreateHeaderAuthMiddleware (line 14) | func CreateHeaderAuthMiddleware() echo.MiddlewareFunc { FILE: api/internal/auth/mfa.go constant MFATypeWebAuthn (line 4) | MFATypeWebAuthn = "MFATypeWebAuthn" FILE: api/internal/auth/mfa_webauthn.go type webauthnUser (line 17) | type webauthnUser struct method WebAuthnID (line 23) | func (w webauthnUser) WebAuthnID() []byte { method WebAuthnName (line 27) | func (w webauthnUser) WebAuthnName() string { method WebAuthnDisplayName (line 31) | func (w webauthnUser) WebAuthnDisplayName() string { method WebAuthnCredentials (line 35) | func (w webauthnUser) WebAuthnCredentials() []*webauthn.Credential { method WebAuthnCredential (line 43) | func (w webauthnUser) WebAuthnCredential(id []byte) *webauthn.Credenti... method WebAuthnIcon (line 47) | func (w webauthnUser) WebAuthnIcon() string { method PushCredential (line 51) | func (w webauthnUser) PushCredential(c *webauthn.Credential) { function InitWebAuthn (line 57) | func InitWebAuthn(baseURL url.URL) { function IsWebAuthnAvailable (line 65) | func IsWebAuthnAvailable() bool { function MFAWebAuthnBeginRegister (line 69) | func MFAWebAuthnBeginRegister(c echo.Context, sessHandler SessionHandler... function MFAWebAuthnFinishRegister (line 129) | func MFAWebAuthnFinishRegister(c echo.Context, sessHandler SessionHandle... function MFAWebAuthnBeginLogin (line 188) | func MFAWebAuthnBeginLogin(c echo.Context, sessHandler SessionHandler) (... function MFAWebAuthnFinishLogin (line 237) | func MFAWebAuthnFinishLogin(c echo.Context, sessHandler SessionHandler) ... FILE: api/internal/auth/middleware.go function EnforceMFAMiddleware (line 11) | func EnforceMFAMiddleware(s SessionHandler) echo.MiddlewareFunc { type EnforceAuthArgs (line 51) | type EnforceAuthArgs struct function EnforceAuthMiddleware (line 55) | func EnforceAuthMiddleware(args EnforceAuthArgs) echo.MiddlewareFunc { function RoleRestrictedMiddleware (line 74) | func RoleRestrictedMiddleware(allowedRoles []string, disallowedRoles []s... function AdminOnlyMiddleware (line 104) | func AdminOnlyMiddleware(h SessionHandler) echo.MiddlewareFunc { FILE: api/internal/auth/session.go type SessionHandler (line 11) | type SessionHandler interface type SessionData (line 23) | type SessionData struct constant sessionAuthIsValidContextKey (line 31) | sessionAuthIsValidContextKey = "sess-auth-valid" constant sessionContextKey (line 32) | sessionContextKey = "sess-data" constant sessionUserContextKey (line 33) | sessionUserContextKey = "sess-user" function AuthIsValid (line 35) | func AuthIsValid(c echo.Context) bool { function SessionDataFromReq (line 40) | func SessionDataFromReq(c echo.Context) *SessionData { function UserAndSessFromReq (line 49) | func UserAndSessFromReq(c echo.Context) (*db.User, *SessionData) { function UserFromReq (line 71) | func UserFromReq(c echo.Context) *db.User { FILE: api/internal/auth/session_inmemory.go type inMemoryStoreEntry (line 14) | type inMemoryStoreEntry struct type InMemorySessionHandler (line 20) | type InMemorySessionHandler struct method CreateMiddleware (line 29) | func (s *InMemorySessionHandler) CreateMiddleware() echo.MiddlewareFunc { method Start (line 60) | func (s *InMemorySessionHandler) Start(c echo.Context, sess SessionDat... method Destroy (line 82) | func (s *InMemorySessionHandler) Destroy(c echo.Context) error { method Refresh (line 91) | func (s *InMemorySessionHandler) Refresh(c echo.Context) error { method Rotate (line 117) | func (s *InMemorySessionHandler) Rotate(c echo.Context) error { method UpdateSessionData (line 141) | func (s *InMemorySessionHandler) UpdateSessionData(c echo.Context, upd... method LogoutAllSessionsForUser (line 153) | func (s *InMemorySessionHandler) LogoutAllSessionsForUser(userId strin... method genRandom (line 166) | func (s *InMemorySessionHandler) genRandom() (string, error) { method getCookie (line 174) | func (s *InMemorySessionHandler) getCookie(c echo.Context) string { method getEntry (line 185) | func (s *InMemorySessionHandler) getEntry(c echo.Context) (*inMemorySt... method setCookie (line 210) | func (s *InMemorySessionHandler) setCookie(c echo.Context, val string,... method cleanup (line 222) | func (s *InMemorySessionHandler) cleanup() { method janitor (line 233) | func (s *InMemorySessionHandler) janitor() { constant sessionInMemoryEntryKey (line 182) | sessionInMemoryEntryKey = "sess-inmem-entry" FILE: api/internal/config/config.go constant AuthMethodCredentials (line 14) | AuthMethodCredentials = "method_credentials" constant AuthMethodOIDC (line 15) | AuthMethodOIDC = "method_oidc" type AuthOIDCConfig (line 17) | type AuthOIDCConfig struct type AuthGeneralConfig (line 34) | type AuthGeneralConfig struct type AuthConfig (line 40) | type AuthConfig struct type AgentConfig (line 45) | type AgentConfig struct type GeneralConfig (line 50) | type GeneralConfig struct type RuntimeConfig (line 56) | type RuntimeConfig struct method ToAdminDTO (line 68) | func (conf RuntimeConfig) ToAdminDTO() apitypes.AdminConfigResponseDTO { method ToPublicDTO (line 112) | func (conf RuntimeConfig) ToPublicDTO() apitypes.PublicConfigDTO { constant latestConfigVersion (line 66) | latestConfigVersion = 2 function MakeDefaultConfig (line 131) | func MakeDefaultConfig() RuntimeConfig { function Reload (line 165) | func Reload() error { function save (line 208) | func save(conf RuntimeConfig) error { function Save (line 212) | func Save() error { function Update (line 219) | func Update(updateFunc func(*RuntimeConfig) error) error { function Get (line 238) | func Get() RuntimeConfig { FILE: api/internal/config/config_migration.go type v1runtimeConfig (line 10) | type v1runtimeConfig struct function migrateV1ToV2 (line 21) | func migrateV1ToV2(oldConfig v1runtimeConfig) RuntimeConfig { function runMigrations (line 54) | func runMigrations(configJsonStr string) (*RuntimeConfig, error) { FILE: api/internal/controllers/account.go function HookAccountEndpoints (line 14) | func HookAccountEndpoints(api *echo.Group) { function handleChangePassword (line 18) | func handleChangePassword(c echo.Context) error { FILE: api/internal/controllers/admin.go function HookAdminEndpoints (line 26) | func HookAdminEndpoints(api *echo.Group) { function handleCreateUser (line 153) | func handleCreateUser(c echo.Context) error { function handleCreateServiceAccount (line 219) | func handleCreateServiceAccount(c echo.Context) error { function handleAgentCreate (line 256) | func handleAgentCreate(c echo.Context) error { function handleAgentRegistrationKeyCreate (line 278) | func handleAgentRegistrationKeyCreate(c echo.Context) error { function handleUpdateUser (line 302) | func handleUpdateUser(c echo.Context) error { function handleDeleteUser (line 351) | func handleDeleteUser(c echo.Context) error { function handleDeleteAgent (line 377) | func handleDeleteAgent(c echo.Context) error { function handleUpdateUserPassword (line 400) | func handleUpdateUserPassword(c echo.Context) error { function handleGetAllAgentRegistrationKeys (line 462) | func handleGetAllAgentRegistrationKeys(c echo.Context) error { function handleDeleteAgentRegistrationKey (line 477) | func handleDeleteAgentRegistrationKey(c echo.Context) error { FILE: api/internal/controllers/agent.go function HookAgentEndpoints (line 12) | func HookAgentEndpoints(api *echo.Group) { FILE: api/internal/controllers/agent_handler.go function HookAgentHandlerEndpoints (line 18) | func HookAgentHandlerEndpoints(api *echo.Group) { function handleAgentDownloadFile (line 30) | func handleAgentDownloadFile(c echo.Context) error { function handleAgentWs (line 63) | func handleAgentWs(c echo.Context) error { function handleAgentRegister (line 99) | func handleAgentRegister(c echo.Context) error { FILE: api/internal/controllers/attack.go function HookAttackEndpoints (line 24) | func HookAttackEndpoints(api *echo.Group) { function handleAttacksGetInitialising (line 41) | func handleAttacksGetInitialising(c echo.Context) error { function handleAttackGetAllForHashlist (line 62) | func handleAttackGetAllForHashlist(c echo.Context) error { function handleDeleteAttack (line 106) | func handleDeleteAttack(c echo.Context) error { function handleAttackStopAllJobs (line 162) | func handleAttackStopAllJobs(c echo.Context) error { function handleAttackJobGetAll (line 201) | func handleAttackJobGetAll(c echo.Context) error { function handleAttackGet (line 244) | func handleAttackGet(c echo.Context) error { function handleAttackCreate (line 280) | func handleAttackCreate(c echo.Context) error { function handleAttackStart (line 379) | func handleAttackStart(c echo.Context) error { function handleAttackRestartFailedJobs (line 533) | func handleAttackRestartFailedJobs(c echo.Context) error { FILE: api/internal/controllers/attack_template.go function HookAttackTemplateEndpoints (line 16) | func HookAttackTemplateEndpoints(api *echo.Group) { function handleGetAllAttackTemplates (line 24) | func handleGetAllAttackTemplates(c echo.Context) error { function handleCreateAttackTemplate (line 49) | func handleCreateAttackTemplate(c echo.Context) error { function handleCreateAttackTemplateSet (line 72) | func handleCreateAttackTemplateSet(c echo.Context) error { function handleUpdateAttackTemplate (line 95) | func handleUpdateAttackTemplate(c echo.Context) error { function handleDeleteAttackTemplate (line 173) | func handleDeleteAttackTemplate(c echo.Context) error { FILE: api/internal/controllers/attackjob.go function HookJobEndpoints (line 14) | func HookJobEndpoints(api *echo.Group) { function handleAttackJobGet (line 45) | func handleAttackJobGet(c echo.Context) error { function handleAttacksAndJobsForHashlist (line 87) | func handleAttacksAndJobsForHashlist(c echo.Context) error { FILE: api/internal/controllers/auth.go function isOIDCAuthAllowed (line 19) | func isOIDCAuthAllowed() bool { function isCredentialAuthAllowed (line 23) | func isCredentialAuthAllowed() bool { function HookAuthEndpoints (line 27) | func HookAuthEndpoints(api *echo.Group, sessHandler auth.SessionHandler) { function handleRefresh (line 277) | func handleRefresh(sessHandler auth.SessionHandler) echo.HandlerFunc { FILE: api/internal/controllers/auth_credentials.go function handleCredentialLogin (line 18) | func handleCredentialLogin(sessHandler auth.SessionHandler) echo.Handler... FILE: api/internal/controllers/auth_oidc.go constant nonceCookieName (line 25) | nonceCookieName = "_oauth_state_nonce" type oidcUtils (line 27) | type oidcUtils struct type oauthState (line 33) | type oauthState struct function getOidcUtils (line 38) | func getOidcUtils(ctx context.Context) (*oidcUtils, error) { function handleOIDCStart (line 64) | func handleOIDCStart(_ auth.SessionHandler) echo.HandlerFunc { function handleOIDCCallback (line 110) | func handleOIDCCallback(sessHandler auth.SessionHandler) echo.HandlerFunc { function extractUsernameAndRoles (line 238) | func extractUsernameAndRoles(claims map[string]any, ac config.AuthConfig... FILE: api/internal/controllers/config.go function HookConfigEndpoints (line 10) | func HookConfigEndpoints(api *echo.Group) { FILE: api/internal/controllers/controllers.go function AuditLog (line 9) | func AuditLog(c echo.Context, fields log.Fields, format string, args ...... FILE: api/internal/controllers/e2e.go function HookE2EEndpoints (line 12) | func HookE2EEndpoints(g *echo.Group, apiKey string) { FILE: api/internal/controllers/hashcat.go function HookHashcatEndpoints (line 13) | func HookHashcatEndpoints(api *echo.Group) { FILE: api/internal/controllers/hashlist.go function HookHashlistEndpoints (line 19) | func HookHashlistEndpoints(api *echo.Group) { function handleHashlistGetAllForProj (line 32) | func handleHashlistGetAllForProj(c echo.Context) error { function handleHashlistGet (line 66) | func handleHashlistGet(c echo.Context) error { function handleHashlistDelete (line 96) | func handleHashlistDelete(c echo.Context) error { function handleHashlistCreate (line 146) | func handleHashlistCreate(c echo.Context) error { function handleHashlistAppend (line 228) | func handleHashlistAppend(c echo.Context) error { FILE: api/internal/controllers/listfiles.go function HookListsEndpoints (line 17) | func HookListsEndpoints(api *echo.Group) { function handleListfileDelete (line 26) | func handleListfileDelete(c echo.Context) error { function handleGetListfile (line 69) | func handleGetListfile(c echo.Context) error { function handleGetAllListfiles (line 107) | func handleGetAllListfiles(c echo.Context) error { FILE: api/internal/controllers/listfiles_upload.go type listfileUploadForm (line 30) | type listfileUploadForm struct function handleListfileUpload (line 42) | func handleListfileUpload(c echo.Context) error { function parseListfileUploadForm (line 155) | func parseListfileUploadForm(mpReader *multipart.Reader, tmpFile *os.Fil... function detectFileLineCount (line 258) | func detectFileLineCount(f *os.File) (int, error) { FILE: api/internal/controllers/potfile.go function HookPotfileEndpoints (line 13) | func HookPotfileEndpoints(api *echo.Group) { function handlePotfileSearch (line 17) | func handlePotfileSearch(c echo.Context) error { FILE: api/internal/controllers/project.go function HookProjectEndpoints (line 19) | func HookProjectEndpoints(api *echo.Group) { function handleProjectCreate (line 38) | func handleProjectCreate(c echo.Context) error { function handleProjectGet (line 66) | func handleProjectGet(c echo.Context) error { function handleProjectDelete (line 94) | func handleProjectDelete(c echo.Context) error { function handleProjectGetAll (line 144) | func handleProjectGetAll(c echo.Context) error { function handleProjectGetShares (line 175) | func handleProjectGetShares(c echo.Context) error { function handleProjectAddShare (line 210) | func handleProjectAddShare(c echo.Context) error { function handleProjectDeleteShare (line 258) | func handleProjectDeleteShare(c echo.Context) error { function handleProjectListfilesGet (line 299) | func handleProjectListfilesGet(c echo.Context) error { FILE: api/internal/controllers/users.go function HookUserEndpoints (line 12) | func HookUserEndpoints(api *echo.Group) { FILE: api/internal/db/agent.go constant AgentStatusHealthy (line 15) | AgentStatusHealthy = "AgentStatusHealthy" constant AgentStatusUnhealthyButConnected (line 16) | AgentStatusUnhealthyButConnected = "AgentStatusUnhealthyButConnected" constant AgentStatusUnhealthyAndDisconnected (line 17) | AgentStatusUnhealthyAndDisconnected = "AgentStatusUnhealthyAndDisconnected" constant AgentStatusDead (line 18) | AgentStatusDead = "AgentStatusDead" type Agent (line 21) | type Agent struct method ToDTO (line 91) | func (a Agent) ToDTO() apitypes.AgentDTO { type AgentRegistrationKey (line 31) | type AgentRegistrationKey struct method ToDTO (line 41) | func (a AgentRegistrationKey) ToDTO() apitypes.AdminGetAgentRegistrati... type AgentFile (line 50) | type AgentFile struct method ToDTO (line 69) | func (a AgentFile) ToDTO() apitypes.AgentFileDTO { type AgentDeviceInfo (line 55) | type AgentDeviceInfo struct type AgentInfo (line 59) | type AgentInfo struct method ToDTO (line 76) | func (a AgentInfo) ToDTO() apitypes.AgentInfoDTO { function CreateAgent (line 101) | func CreateAgent(name string, ephemeral bool) (newAgent *Agent, plaintex... function CreateAgentRegistrationKey (line 122) | func CreateAgentRegistrationKey(name string, ephemeral bool) (newKey *Ag... function GetAllAgentRegistrationKeys (line 146) | func GetAllAgentRegistrationKeys() ([]AgentRegistrationKey, error) { function DeleteAgentRegistrationKey (line 155) | func DeleteAgentRegistrationKey(id string) error { function GetAgentRegistrationKeyByKey (line 159) | func GetAgentRegistrationKeyByKey(key string) (*AgentRegistrationKey, er... function GetAllAgents (line 169) | func GetAllAgents() ([]Agent, error) { function GetAllHealthyAgents (line 178) | func GetAllHealthyAgents() ([]Agent, error) { function GetAllSchedulableAgents (line 187) | func GetAllSchedulableAgents() ([]Agent, error) { function GetAgent (line 196) | func GetAgent(id string) (*Agent, error) { function FindAgentByAuthKey (line 205) | func FindAgentByAuthKey(authKey string) (*Agent, error) { function FindAgentIDByAuthKey (line 215) | func FindAgentIDByAuthKey(authKey string) (string, error) { function UpdateAgentDevices (line 230) | func UpdateAgentDevices(agentId string, devices []hashcattypes.HashcatSt... function UpdateAgentStatus (line 239) | func UpdateAgentStatus(agentId string, status string) error { function UpdateAgentInfo (line 249) | func UpdateAgentInfo(agentId string, info AgentInfo) error { function UpdateAgentMaintenanceMode (line 253) | func UpdateAgentMaintenanceMode(agentId string, isMaintenance bool) error { FILE: api/internal/db/attack_template.go type AttackTemplate (line 10) | type AttackTemplate struct method ToDTO (line 33) | func (at AttackTemplate) ToDTO() apitypes.AttackTemplateDTO { type AttackTemplateSet (line 20) | type AttackTemplateSet struct method ToDTO (line 48) | func (at AttackTemplateSet) ToDTO() apitypes.AttackTemplateDTO { constant AttackTemplateType (line 30) | AttackTemplateType = "attack-template" constant AttackTemplateSetType (line 31) | AttackTemplateSetType = "attack-template-set" function CreateAttackTemplate (line 63) | func CreateAttackTemplate(attackTemplate *AttackTemplate) (*AttackTempla... function CreateAttackTemplateSet (line 67) | func CreateAttackTemplateSet(templateSet *AttackTemplateSet) (*AttackTem... function GetAllAttackTemplates (line 71) | func GetAllAttackTemplates() ([]AttackTemplate, error) { function GetAllAttackTemplateSets (line 75) | func GetAllAttackTemplateSets() ([]AttackTemplateSet, error) { function GetAttackTemplate (line 79) | func GetAttackTemplate(id string) (*AttackTemplate, error) { function GetAttackTemplateSet (line 83) | func GetAttackTemplateSet(id string) (*AttackTemplateSet, error) { function DeleteAttackTemplate (line 87) | func DeleteAttackTemplate(id string) error { function DeleteAttackTemplateSet (line 91) | func DeleteAttackTemplateSet(id string) error { FILE: api/internal/db/config.go type Config (line 11) | type Config struct method TableName (line 16) | func (c Config) TableName() string { function GetConfigJSONString (line 20) | func GetConfigJSONString() (string, error) { function GetConfig (line 30) | func GetConfig[ConfigT interface{}]() (*ConfigT, error) { function SeedConfig (line 45) | func SeedConfig[ConfigT interface{}](defaultConfig ConfigT) error { function SetConfig (line 70) | func SetConfig[ConfigT interface{}](newConf ConfigT) error { FILE: api/internal/db/db.go type UUIDBaseModel (line 21) | type UUIDBaseModel struct type SimpleBaseModel (line 28) | type SimpleBaseModel struct function HardDelete (line 32) | func HardDelete[T any](obj *T) error { function SoftDelete (line 36) | func SoftDelete[T any](obj *T) error { function Save (line 40) | func Save[T any](obj *T) error { function GetByID (line 44) | func GetByID[T any](id string) (*T, error) { function GetAll (line 53) | func GetAll[T any]() ([]T, error) { function Connect (line 66) | func Connect(dsn string) error { function seed (line 86) | func seed() error { function GetInstance (line 103) | func GetInstance() *gorm.DB { function runMigrations (line 107) | func runMigrations() { function WipeEverything (line 134) | func WipeEverything() error { type pgJSONBArray (line 155) | type pgJSONBArray struct method Init (line 160) | func (a *pgJSONBArray[T]) Init() { method Value (line 165) | func (a pgJSONBArray[T]) Value() (driver.Value, error) { method Unwrap (line 170) | func (a *pgJSONBArray[T]) Unwrap() []T { method Scan (line 179) | func (a *pgJSONBArray[T]) Scan(src interface{}) error { method GormDataType (line 185) | func (a *pgJSONBArray[T]) GormDataType() string { FILE: api/internal/db/job.go constant JobStatusCreated (line 18) | JobStatusCreated = "JobStatus-Created" constant JobStatusAwaitingStart (line 20) | JobStatusAwaitingStart = "JobStatus-AwaitingStart" constant JobStatusStarted (line 22) | JobStatusStarted = "JobStatus-Started" constant JobStatusExited (line 24) | JobStatusExited = "JobStatus-Exited" constant JobStopReasonFinished (line 29) | JobStopReasonFinished = "JobStopReason-Finished" constant JobStopReasonUserStopped (line 31) | JobStopReasonUserStopped = "JobStopReason-UserStopped" constant JobStopReasonFailedToStart (line 33) | JobStopReasonFailedToStart = "JobStopReason-FailedToStart" constant JobStopReasonFailed (line 35) | JobStopReasonFailed = "JobStopReason-Failed" constant JobStopReasonTimeout (line 37) | JobStopReasonTimeout = "JobStopReason-Timeout" type Job (line 40) | type Job struct method HasFailed (line 59) | func (j Job) HasFailed() bool { method ToDTO (line 92) | func (j Job) ToDTO() apitypes.JobDTO { method ToSimpleDTO (line 176) | func (j *Job) ToSimpleDTO() apitypes.JobSimpleDTO { type JobRuntimeData (line 63) | type JobRuntimeData struct method ToDTO (line 113) | func (r JobRuntimeData) ToDTO() apitypes.JobRuntimeDataDTO { method ToSummaryDTO (line 138) | func (r *JobRuntimeData) ToSummaryDTO() apitypes.JobRuntimeSummaryDTO { constant JobStdLineStreamStdout (line 83) | JobStdLineStreamStdout = "stdout" constant JobStdLineStreamStderr (line 84) | JobStdLineStreamStderr = "stderr" type JobRuntimeOutputLine (line 87) | type JobRuntimeOutputLine struct function GetJob (line 186) | func GetJob(jobId string, includeRuntimeData bool) (*Job, error) { function GetAllPendingJobs (line 201) | func GetAllPendingJobs(includeRuntimeData bool) ([]Job, error) { function GetAllIncompleteJobs (line 219) | func GetAllIncompleteJobs(includeRuntimeData bool) ([]Job, error) { type RunningJobForUser (line 237) | type RunningJobForUser struct method ToDTO (line 244) | func (j *RunningJobForUser) ToDTO() apitypes.RunningJobForUserDTO { type RunningJobsForUser (line 253) | type RunningJobsForUser method ToDTO (line 255) | func (jobs RunningJobsForUser) ToDTO() []apitypes.RunningJobForUserDTO { type RunningJobCountForUser (line 263) | type RunningJobCountForUser struct type RunningJobCountPerUserList (line 268) | type RunningJobCountPerUserList method ToDTO (line 270) | func (l RunningJobCountPerUserList) ToDTO() apitypes.RunningJobCountPe... function GetRunningJobCountPerUser (line 285) | func GetRunningJobCountPerUser() (RunningJobCountPerUserList, error) { function GetAllRunningJobsForUser (line 310) | func GetAllRunningJobsForUser(user *User) (RunningJobsForUser, error) { function GetJobProjID (line 335) | func GetJobProjID(jobId string) (string, error) { function CreateJob (line 353) | func CreateJob(job *Job) (*Job, error) { function GetJobsForHashlist (line 363) | func GetJobsForHashlist(hashlistId string) ([]Job, error) { function GetJobsForProject (line 377) | func GetJobsForProject(projectId string) ([]Job, error) { function CreateJobTx (line 392) | func CreateJobTx(job *Job, tx *gorm.DB) (*Job, error) { function SetJobStarted (line 402) | func SetJobStarted(jobId string, cmdLine string, startTime time.Time) er... function SetJobExited (line 418) | func SetJobExited(jobId string, reason string, errStr string, exitTime t... function SetJobScheduled (line 456) | func SetJobScheduled(jobId string, agentId string) error { function AddJobCrackedHash (line 487) | func AddJobCrackedHash(jobId string, hash string, plaintextHex string) e... constant MaxJobOutputs (line 534) | MaxJobOutputs = 10 function AddJobStdline (line 536) | func AddJobStdline(jobId string, stream string, line string) error { function AddJobStatusUpdate (line 548) | func AddJobStatusUpdate(jobId string, status hashcattypes.HashcatStatus)... function GetJobHashtype (line 555) | func GetJobHashtype(jobId string) (uint, error) { function GetJobsForAttack (line 574) | func GetJobsForAttack(attackId string, includeRuntimeData bool, includeT... FILE: api/internal/db/keyspace_cache.go type KeyspaceCache (line 3) | type KeyspaceCache struct function GetKeyspaceCacheEntry (line 10) | func GetKeyspaceCacheEntry(settingsHash string) (int64, error) { function InsertKeyspaceCacheEntry (line 19) | func InsertKeyspaceCacheEntry(settingsHash string, keyspace int64) error { FILE: api/internal/db/listfiles.go constant ListfileTypeWordlist (line 9) | ListfileTypeWordlist = "Wordlist" constant ListfileTypeRulefile (line 10) | ListfileTypeRulefile = "Rulefile" constant ListfileTypeHashlist (line 11) | ListfileTypeHashlist = "Hashlist" constant ListfileTypeCharset (line 12) | ListfileTypeCharset = "Charset" type Listfile (line 15) | type Listfile struct method Save (line 31) | func (l *Listfile) Save() error { method ToDTO (line 35) | func (w *Listfile) ToDTO() apitypes.ListfileDTO { function GetListfile (line 54) | func GetListfile(id string) (*Listfile, error) { function CreateListfile (line 63) | func CreateListfile(listfile *Listfile) (*Listfile, error) { function MarkListfileAsAvailable (line 67) | func MarkListfileAsAvailable(id string) error { function MarkListfileForDeletion (line 71) | func MarkListfileForDeletion(id string) error { function GetAllPublicRulefiles (line 76) | func GetAllPublicRulefiles() ([]Listfile, error) { function GetAllPublicWordlists (line 85) | func GetAllPublicWordlists() ([]Listfile, error) { function GetAllListfilesAvailableToProject (line 94) | func GetAllListfilesAvailableToProject(projectID string) ([]Listfile, er... function GetAllPublicListfiles (line 103) | func GetAllPublicListfiles() ([]Listfile, error) { function GetAllListfiles (line 112) | func GetAllListfiles() ([]Listfile, error) { function GetAllProjectSpecificListfiles (line 121) | func GetAllProjectSpecificListfiles(projectID string) ([]Listfile, error) { FILE: api/internal/db/potfile.go type PotfileEntry (line 10) | type PotfileEntry struct type PotfileSearchResult (line 17) | type PotfileSearchResult struct method ToDTO (line 23) | func (r PotfileSearchResult) ToDTO() apitypes.PotfileSearchResultDTO { function AddPotfileEntry (line 37) | func AddPotfileEntry(newEntry *PotfileEntry) (*PotfileEntry, error) { function SearchPotfile (line 63) | func SearchPotfile(hashes []string) ([]PotfileSearchResult, error) { FILE: api/internal/db/project.go type Project (line 15) | type Project struct method ToDTO (line 27) | func (p *Project) ToDTO() apitypes.ProjectDTO { function CreateProject (line 37) | func CreateProject(proj *Project) (*Project, error) { type ProjectShare (line 41) | type ProjectShare struct function CreateProjectShare (line 51) | func CreateProjectShare(share *ProjectShare) (*ProjectShare, error) { function DeleteProjectShare (line 55) | func DeleteProjectShare(projId string, userId string) error { type ProjectShares (line 59) | type ProjectShares method ToDTO (line 61) | func (shares ProjectShares) ToDTO() apitypes.ProjectSharesDTO { function GetProjectShares (line 71) | func GetProjectShares(projId string) (ProjectShares, error) { type Hashlist (line 80) | type Hashlist struct method ToDTO (line 94) | func (h *Hashlist) ToDTO(withHashes bool) apitypes.HashlistDTO { function CreateHashlist (line 115) | func CreateHashlist(hashlist *Hashlist) (*Hashlist, error) { function AppendToHashlist (line 136) | func AppendToHashlist(newHashes []HashlistHash) (int64, error) { function PopulateHashlistFromPotfile (line 168) | func PopulateHashlistFromPotfile(hashlistId string) (int64, error) { type HashlistHash (line 182) | type HashlistHash struct method ToDTO (line 193) | func (h *HashlistHash) ToDTO() apitypes.HashlistHashDTO { type Attack (line 205) | type Attack struct method ToDTO (line 219) | func (a *Attack) ToDTO() apitypes.AttackDTO { function CreateAttack (line 215) | func CreateAttack(attack *Attack) (*Attack, error) { function GetProject (line 229) | func GetProject(projId string) (*Project, error) { function GetProjectForUser (line 238) | func GetProjectForUser(projId string, user *User) (*Project, error) { function GetAllProjects (line 257) | func GetAllProjects() ([]Project, error) { function GetAllProjectsForUser (line 266) | func GetAllProjectsForUser(user *User) ([]Project, error) { function GetHashlist (line 291) | func GetHashlist(hashlistId string) (*Hashlist, error) { function GetHashlistWithHashes (line 300) | func GetHashlistWithHashes(hashlistId string) (*Hashlist, error) { function GetHashlistProjID (line 309) | func GetHashlistProjID(hashlistId string) (string, error) { function GetAllHashlistsForProject (line 322) | func GetAllHashlistsForProject(projId string) ([]Hashlist, error) { function GetAttack (line 331) | func GetAttack(attackId string) (*Attack, error) { function DeleteProject (line 341) | func DeleteProject(projectId string) error { function DeleteHashlist (line 374) | func DeleteHashlist(hashlistId string) error { function DeleteAttack (line 397) | func DeleteAttack(attackId string) error { function GetAllAttacksForHashlist (line 410) | func GetAllAttacksForHashlist(hashlistId string) ([]Attack, error) { function GetAttackProjID (line 419) | func GetAttackProjID(attackId string) (string, error) { type AttackIDTree (line 437) | type AttackIDTree struct method ToDTO (line 443) | func (a *AttackIDTree) ToDTO() apitypes.AttackIDTreeDTO { function GetAllAttacksWithProgressStringsForUser (line 451) | func GetAllAttacksWithProgressStringsForUser(user *User) ([]AttackIDTree... function SetAttackProgressString (line 474) | func SetAttackProgressString(attackId string, progressString string) err... FILE: api/internal/db/user.go constant UserPasswordLocked (line 13) | UserPasswordLocked = "*" type User (line 15) | type User struct method ToDTO (line 26) | func (u *User) ToDTO() apitypes.UserDTO { method ToAdminDTO (line 34) | func (u *User) ToAdminDTO() apitypes.AdminGetUserDTO { method ToMinimalDTO (line 43) | func (u *User) ToMinimalDTO() apitypes.UserMinimalDTO { method IsPasswordLocked (line 50) | func (u *User) IsPasswordLocked() bool { method HasRole (line 54) | func (u *User) HasRole(roleToCheck string) bool { function NormalizeUsername (line 64) | func NormalizeUsername(username string) string { function GetAllUsers (line 68) | func GetAllUsers() ([]User, error) { function GetUserByID (line 77) | func GetUserByID(id string) (*User, error) { function GetUserByUsername (line 86) | func GetUserByUsername(username string) (*User, error) { function RegisterUserWithCredentials (line 95) | func RegisterUserWithCredentials(username, password string, roles []stri... function RegisterUserWithoutPassword (line 114) | func RegisterUserWithoutPassword(username string, roles []string) (*User... function RegisterServiceAccount (line 129) | func RegisterServiceAccount(username string, apiKey string, roles []stri... function GetServiceAccountByAPIKey (line 151) | func GetServiceAccountByAPIKey(key string) (*User, error) { FILE: api/internal/filerepo/filerepo.go function SetPath (line 14) | func SetPath(pathToSet string) error { function GetPathToFile (line 28) | func GetPathToFile(id uuid.UUID) (string, error) { function Create (line 37) | func Create(id uuid.UUID) (io.WriteCloser, error) { function Delete (line 46) | func Delete(id uuid.UUID) error { function MakeTmp (line 55) | func MakeTmp() (*os.File, string, error) { function CreateFromTmp (line 66) | func CreateFromTmp(id uuid.UUID, tmpFilename string) error { FILE: api/internal/fleet/agent.go type AgentConnection (line 20) | type AgentConnection struct method markDisconnected (line 27) | func (a *AgentConnection) markDisconnected() { method handleMessage (line 48) | func (a *AgentConnection) handleMessage(msg *wstypes.Message) error { method sendMessage (line 79) | func (a *AgentConnection) sendMessage(msgType string, payload interfac... method handleHeartbeat (line 98) | func (a *AgentConnection) handleHeartbeat(msg *wstypes.Message) error { method RequestFileDownload (line 178) | func (a *AgentConnection) RequestFileDownload(fileIDs ...uuid.UUID) er... method RequestFileDelete (line 193) | func (a *AgentConnection) RequestFileDelete(fileID string) error { method Handle (line 199) | func (a *AgentConnection) Handle() error { FILE: api/internal/fleet/fleet.go function broadcastMessageUnsafe (line 25) | func broadcastMessageUnsafe(msgType string, message interface{}) { function RegisterAgentFromWebsocket (line 31) | func RegisterAgentFromWebsocket(conn *websocket.Conn, agentId string) *A... function RemoveAgentByID (line 60) | func RemoveAgentByID(projectId string) { function ScheduleJobs (line 67) | func ScheduleJobs(jobIds []string) ([]string, error) { function NumSchedulableAgents (line 74) | func NumSchedulableAgents() int { function scheduleJobUnsafe (line 83) | func scheduleJobUnsafe(jobIds []string) ([]string, error) { function StopJob (line 144) | func StopJob(job db.Job, reason string) { function RequestFileDownload (line 151) | func RequestFileDownload(fileIDs ...uuid.UUID) { FILE: api/internal/fleet/handle_jobs_events.go method handleJobStarted (line 12) | func (a *AgentConnection) handleJobStarted(msg *wstypes.Message) error { method handleJobCrackedHash (line 28) | func (a *AgentConnection) handleJobCrackedHash(msg *wstypes.Message) err... method handleJobStdLine (line 52) | func (a *AgentConnection) handleJobStdLine(msg *wstypes.Message) error { method handleJobStatusUpdate (line 61) | func (a *AgentConnection) handleJobStatusUpdate(msg *wstypes.Message) er... method handleJobExited (line 74) | func (a *AgentConnection) handleJobExited(msg *wstypes.Message) error { method handleJobFailedToStart (line 92) | func (a *AgentConnection) handleJobFailedToStart(msg *wstypes.Message) e... FILE: api/internal/fleet/state_reconcilition.go constant deadtimeToUnhealthy (line 19) | deadtimeToUnhealthy = 60 * time.Second constant deadtimetoDead (line 20) | deadtimetoDead = 120 * time.Second constant disconnectTimeToDead (line 21) | disconnectTimeToDead = 60 * time.Second constant acceptableJobStartTime (line 24) | acceptableJobStartTime = 30 * time.Second function tellAgentToKillJob (line 27) | func tellAgentToKillJob(agentId *uuid.UUID, jobId *uuid.UUID, reason str... function stateReconciliation (line 43) | func stateReconciliation() error { function stateReconciliationTask (line 384) | func stateReconciliationTask() { function QueueStateReconciliation (line 401) | func QueueStateReconciliation() { function LazyQueueStateReconciliation (line 414) | func LazyQueueStateReconciliation() { function Setup (line 425) | func Setup() error { FILE: api/internal/hashcathelpers/hashcathelpers.go function findBinary (line 18) | func findBinary() (path string, err error) { function hashcatCommand (line 41) | func hashcatCommand(args ...string) (*exec.Cmd, error) { function hashcatCommandWithRandSession (line 51) | func hashcatCommandWithRandSession(args ...string) (*exec.Cmd, error) { function CalculateKeyspace (line 58) | func CalculateKeyspace(params hashcattypes.HashcatParams) (int64, error) { function IdentifyHashTypes (line 142) | func IdentifyHashTypes(exampleHash string, hasUsername bool) ([]int, err... constant usernameSeparator (line 195) | usernameSeparator = ":" function SplitUsername (line 197) | func SplitUsername(hash string) (string, string, error) { function NormalizeHashes (line 205) | func NormalizeHashes(hashes []string, hashType int, hasUsernames bool) (... FILE: api/internal/resources/resources.go function init (line 16) | func init() { function GetHashTypeMap (line 27) | func GetHashTypeMap() hashcattypes.HashTypeMap { FILE: api/internal/roles/roles.go constant UserRoleAdmin (line 3) | UserRoleAdmin = "admin" constant UserRoleStandard (line 4) | UserRoleStandard = "standard" constant UserRoleServiceAccount (line 5) | UserRoleServiceAccount = "service_account" constant UserRoleMFAExempt (line 6) | UserRoleMFAExempt = "mfa_exempt" constant UserRoleRequiresPasswordChange (line 7) | UserRoleRequiresPasswordChange = "requires_password_change" constant UserRoleMFAEnrolled (line 9) | UserRoleMFAEnrolled = "mfa_enrolled" function AreRolesAssignable (line 13) | func AreRolesAssignable(roles []string) bool { FILE: api/internal/util/password_strength.go function ValidatePasswordStrength (line 3) | func ValidatePasswordStrength(password string) (ok bool, feedback string) { FILE: api/internal/util/request_validator.go function BindAndValidate (line 16) | func BindAndValidate[DTO interface{}](c echo.Context) (DTO, error) { type RequestValidator (line 31) | type RequestValidator struct method Validate (line 91) | func (v *RequestValidator) Validate(i interface{}) error { method makeValidationError (line 98) | func (v *RequestValidator) makeValidationError(err error) string { function NewRequestValidator (line 36) | func NewRequestValidator() *RequestValidator { FILE: api/internal/util/util.go type WrappedServerError (line 17) | type WrappedServerError struct method Error (line 22) | func (e WrappedServerError) Error() string { method Unwrap (line 26) | func (e WrappedServerError) Unwrap() error { method ID (line 30) | func (e WrappedServerError) ID() string { function ServerError (line 34) | func ServerError(message string, internal error) *echo.HTTPError { function GenericServerError (line 43) | func GenericServerError(internal error) *echo.HTTPError { function CleanPath (line 47) | func CleanPath(filePath string) string { function UnmarshalJSON (line 52) | func UnmarshalJSON[T interface{}](jsonBlob string) (out T, err error) { constant agentKeyLen (line 57) | agentKeyLen = 32 function HashAgentKey (line 59) | func HashAgentKey(keyStr string) string { function CheckAgentKey (line 64) | func CheckAgentKey(keyStr string, hashStr string) bool { function GenAgentKeyAndHash (line 71) | func GenAgentKeyAndHash() (keyStr string, hashStr string, err error) { function HashAPIKey (line 86) | func HashAPIKey(keyStr string) string { function CheckAPIKey (line 91) | func CheckAPIKey(keyStr string, hashStr string) bool { constant apiKeyLen (line 95) | apiKeyLen = 32 function GenAPIKeyAndHash (line 97) | func GenAPIKeyAndHash() (keyStr string, hashStr string, err error) { function isValidUUID (line 111) | func isValidUUID(id string) bool { function AreValidUUIDs (line 119) | func AreValidUUIDs(candidates ...string) bool { FILE: api/internal/version/version.go function Version (line 5) | func Version() string { FILE: api/internal/webserver/logger.go function makeLoggerMiddleware (line 13) | func makeLoggerMiddleware() echo.MiddlewareFunc { FILE: api/internal/webserver/webserver.go function makeSessionHandler (line 18) | func makeSessionHandler() auth.SessionHandler { function Listen (line 25) | func Listen(baseURL string, insecureOrigin bool, port string) error { FILE: api/main.go function main (line 17) | func main() { FILE: common/pkg/apitypes/account.go type AccountChangePasswordRequestDTO (line 3) | type AccountChangePasswordRequestDTO struct FILE: common/pkg/apitypes/admin.go type AdminAgentCreateRequestDTO (line 3) | type AdminAgentCreateRequestDTO struct type AdminAgentCreateResponseDTO (line 8) | type AdminAgentCreateResponseDTO struct type AdminAgentRegistrationKeyCreateRequestDTO (line 15) | type AdminAgentRegistrationKeyCreateRequestDTO struct type AdminAgentRegistrationKeyCreateResponseDTO (line 20) | type AdminAgentRegistrationKeyCreateResponseDTO struct type AdminGetAgentRegistrationKeyDTO (line 27) | type AdminGetAgentRegistrationKeyDTO struct type AdminGetAllAgentRegistrationKeysResponseDTO (line 34) | type AdminGetAllAgentRegistrationKeysResponseDTO struct type AdminUserCreateRequestDTO (line 38) | type AdminUserCreateRequestDTO struct type AdminUserCreateResponseDTO (line 46) | type AdminUserCreateResponseDTO struct type AdminUserUpdatePasswordRequestDTO (line 53) | type AdminUserUpdatePasswordRequestDTO struct type AdminUserUpdatePasswordResponseDTO (line 56) | type AdminUserUpdatePasswordResponseDTO struct type AdminUserUpdateRequestDTO (line 60) | type AdminUserUpdateRequestDTO struct type AdminServiceAccountCreateRequestDTO (line 65) | type AdminServiceAccountCreateRequestDTO struct type AdminServiceAccountCreateResponseDTO (line 69) | type AdminServiceAccountCreateResponseDTO struct type AdminGetAllUsersResponseDTO (line 76) | type AdminGetAllUsersResponseDTO struct type AdminGetUserDTO (line 80) | type AdminGetUserDTO struct type AdminAgentSetMaintanceRequestDTO (line 87) | type AdminAgentSetMaintanceRequestDTO struct FILE: common/pkg/apitypes/admin_config.go type AuthOIDCConfigDTO (line 3) | type AuthOIDCConfigDTO struct type GeneralAuthConfigDTO (line 21) | type GeneralAuthConfigDTO struct type AuthConfigDTO (line 28) | type AuthConfigDTO struct type AgentConfigDTO (line 33) | type AgentConfigDTO struct type GeneralConfigDTO (line 38) | type GeneralConfigDTO struct type AdminConfigRequestDTO (line 44) | type AdminConfigRequestDTO struct type AdminConfigResponseDTO (line 50) | type AdminConfigResponseDTO struct FILE: common/pkg/apitypes/agent.go type AgentDTO (line 5) | type AgentDTO struct type AgentFileDTO (line 13) | type AgentFileDTO struct type AgentInfoDTO (line 18) | type AgentInfoDTO struct type AgentGetAllResponseDTO (line 26) | type AgentGetAllResponseDTO struct FILE: common/pkg/apitypes/agent_handler.go type AgentRegisterRequestDTO (line 3) | type AgentRegisterRequestDTO struct type AgentRegisterResponseDTO (line 7) | type AgentRegisterResponseDTO struct FILE: common/pkg/apitypes/attack.go type AttackDTO (line 5) | type AttackDTO struct type AttackIDTreeDTO (line 13) | type AttackIDTreeDTO struct type AttackWithJobsDTO (line 19) | type AttackWithJobsDTO struct type AttackWithJobsMultipleDTO (line 24) | type AttackWithJobsMultipleDTO struct type AttackMultipleDTO (line 28) | type AttackMultipleDTO struct type AttackIDTreeMultipleDTO (line 32) | type AttackIDTreeMultipleDTO struct type AttackCreateRequestDTO (line 36) | type AttackCreateRequestDTO struct type AttackStartResponseDTO (line 42) | type AttackStartResponseDTO struct FILE: common/pkg/apitypes/attack_template.go constant AttackTemplateType (line 7) | AttackTemplateType = "attack-template" constant AttackTemplateSetType (line 8) | AttackTemplateSetType = "attack-template-set" type AttackTemplateDTO (line 10) | type AttackTemplateDTO struct type AttackTemplateGetAllResponseDTO (line 22) | type AttackTemplateGetAllResponseDTO struct type AttackTemplateCreateRequestDTO (line 26) | type AttackTemplateCreateRequestDTO struct type AttackTemplateCreateSetRequestDTO (line 31) | type AttackTemplateCreateSetRequestDTO struct type AttackTemplateUpdateRequestDTO (line 36) | type AttackTemplateUpdateRequestDTO struct FILE: common/pkg/apitypes/auth.go type AuthLoginRequestDTO (line 5) | type AuthLoginRequestDTO struct type AuthCurrentUserDTO (line 10) | type AuthCurrentUserDTO struct type AuthLoginResponseDTO (line 17) | type AuthLoginResponseDTO struct type AuthWhoamiResponseDTO (line 24) | type AuthWhoamiResponseDTO struct type AuthRefreshResponseDTO (line 31) | type AuthRefreshResponseDTO struct type AuthWebAuthnStartEnrollmentResponseDTO (line 38) | type AuthWebAuthnStartEnrollmentResponseDTO struct type AuthWebAuthnStartChallengeResponseDTO (line 42) | type AuthWebAuthnStartChallengeResponseDTO struct type AuthChangePasswordRequestDTO (line 46) | type AuthChangePasswordRequestDTO struct FILE: common/pkg/apitypes/config.go type PublicOIDCConfigDTO (line 3) | type PublicOIDCConfigDTO struct type PublicAuthConfigDTO (line 7) | type PublicAuthConfigDTO struct type PublicGeneralConfigDTO (line 12) | type PublicGeneralConfigDTO struct type PublicConfigDTO (line 18) | type PublicConfigDTO struct FILE: common/pkg/apitypes/hashcat.go type HashTypesDTO (line 5) | type HashTypesDTO struct type DetectHashTypeRequestDTO (line 9) | type DetectHashTypeRequestDTO struct type DetectHashTypeResponseDTO (line 14) | type DetectHashTypeResponseDTO struct type VerifyHashesRequestDTO (line 18) | type VerifyHashesRequestDTO struct type VerifyHashesResponseDTO (line 24) | type VerifyHashesResponseDTO struct type NormalizeHashesResponseDTO (line 30) | type NormalizeHashesResponseDTO struct FILE: common/pkg/apitypes/hashlist.go type HashlistCreateRequestDTO (line 3) | type HashlistCreateRequestDTO struct type HashlistAppendRequestDTO (line 11) | type HashlistAppendRequestDTO struct type HashlistAppendResponseDTO (line 15) | type HashlistAppendResponseDTO struct type HashlistCreateResponseDTO (line 20) | type HashlistCreateResponseDTO struct type HashlistHashDTO (line 25) | type HashlistHashDTO struct type HashlistDTO (line 35) | type HashlistDTO struct type HashlistResponseMultipleDTO (line 46) | type HashlistResponseMultipleDTO struct FILE: common/pkg/apitypes/job.go type JobCreateRequestDTO (line 9) | type JobCreateRequestDTO struct type JobCreateResponseDTO (line 17) | type JobCreateResponseDTO struct type JobStartResponseDTO (line 21) | type JobStartResponseDTO struct type JobRuntimeOutputLineDTO (line 25) | type JobRuntimeOutputLineDTO struct type JobRuntimeDataDTO (line 30) | type JobRuntimeDataDTO struct type JobRuntimeSummaryDTO (line 43) | type JobRuntimeSummaryDTO struct type JobDTO (line 52) | type JobDTO struct type JobSimpleDTO (line 64) | type JobSimpleDTO struct type JobMultipleDTO (line 72) | type JobMultipleDTO struct type RunningJobForUserDTO (line 76) | type RunningJobForUserDTO struct type RunningJobsForUserResponseDTO (line 83) | type RunningJobsForUserResponseDTO struct type RunningJobCountForUserDTO (line 87) | type RunningJobCountForUserDTO struct type RunningJobCountPerUsersDTO (line 92) | type RunningJobCountPerUsersDTO struct FILE: common/pkg/apitypes/listfiles.go type ListfileDTO (line 3) | type ListfileDTO struct type GetAllWordlistsDTO (line 15) | type GetAllWordlistsDTO struct type GetAllRuleFilesDTO (line 19) | type GetAllRuleFilesDTO struct type GetAllListfilesDTO (line 23) | type GetAllListfilesDTO struct type ListfileUploadResponseDTO (line 27) | type ListfileUploadResponseDTO struct FILE: common/pkg/apitypes/potfile.go type PotfileSearchRequestDTO (line 3) | type PotfileSearchRequestDTO struct type PotfileSearchResultDTO (line 7) | type PotfileSearchResultDTO struct type PotfileSearchResponseDTO (line 14) | type PotfileSearchResponseDTO struct FILE: common/pkg/apitypes/project.go type ProjectCreateRequestDTO (line 3) | type ProjectCreateRequestDTO struct type ProjectDTO (line 8) | type ProjectDTO struct type ProjectResponseMultipleDTO (line 16) | type ProjectResponseMultipleDTO struct type ProjectAddShareRequestDTO (line 22) | type ProjectAddShareRequestDTO struct type ProjectSharesDTO (line 26) | type ProjectSharesDTO struct FILE: common/pkg/apitypes/user.go type UserDTO (line 3) | type UserDTO struct type UserMinimalDTO (line 9) | type UserMinimalDTO struct type UsersGetAllResponseDTO (line 14) | type UsersGetAllResponseDTO struct constant UserRoleAdmin (line 18) | UserRoleAdmin = "admin" constant UserRoleStandard (line 19) | UserRoleStandard = "standard" constant UserRoleServiceAccount (line 20) | UserRoleServiceAccount = "service_account" constant UserRoleMFAExempt (line 21) | UserRoleMFAExempt = "mfa_exempt" constant UserRoleRequiresPasswordChange (line 22) | UserRoleRequiresPasswordChange = "requires_password_change" FILE: common/pkg/hashcattypes/attackmode.go constant AttackModeDictionary (line 4) | AttackModeDictionary = 0 constant AttackModeCombinator (line 5) | AttackModeCombinator = 1 constant AttackModeMask (line 6) | AttackModeMask = 3 constant AttackModeHybridDM (line 7) | AttackModeHybridDM = 6 constant AttackModeHybridMD (line 8) | AttackModeHybridMD = 7 FILE: common/pkg/hashcattypes/hashcattypes.go type HashcatParams (line 5) | type HashcatParams struct type HashcatStatusGuess (line 27) | type HashcatStatusGuess struct type HashcatStatusDevice (line 41) | type HashcatStatusDevice struct type HashcatStatus (line 50) | type HashcatStatus struct type HashcatResult (line 69) | type HashcatResult struct FILE: common/pkg/hashcattypes/hashinfo.go type HashType (line 3) | type HashType struct type HashTypeMap (line 24) | type HashTypeMap FILE: common/pkg/wstypes/job.go constant JobStartType (line 11) | JobStartType = "JobStart" constant JobKillType (line 12) | JobKillType = "JobKill" constant JobStartedType (line 15) | JobStartedType = "JobStarted" constant JobFailedToStartType (line 16) | JobFailedToStartType = "JobFailedToStart" constant JobCrackedHashType (line 17) | JobCrackedHashType = "JobCrackedHash" constant JobStdLineType (line 18) | JobStdLineType = "JobStdLine" constant JobExitedType (line 19) | JobExitedType = "JobExited" constant JobStatusUpdateType (line 20) | JobStatusUpdateType = "JobStatusUpdate" type JobStartDTO (line 24) | type JobStartDTO struct type JobFailedToStartDTO (line 31) | type JobFailedToStartDTO struct type JobStartedDTO (line 38) | type JobStartedDTO struct type JobKillDTO (line 44) | type JobKillDTO struct type JobCrackedHashDTO (line 50) | type JobCrackedHashDTO struct constant JobStdLineStreamStdout (line 57) | JobStdLineStreamStdout = "stdout" constant JobStdLineStreamStderr (line 58) | JobStdLineStreamStderr = "stderr" type JobStdLineDTO (line 61) | type JobStdLineDTO struct type JobExitedDTO (line 68) | type JobExitedDTO struct type JobStatusUpdateDTO (line 76) | type JobStatusUpdateDTO struct FILE: common/pkg/wstypes/wstypes.go type Message (line 3) | type Message struct constant HeartbeatType (line 9) | HeartbeatType = "Heartbeat" constant AgentErrorType (line 10) | AgentErrorType = "AgentError" constant DownloadFileRequestType (line 11) | DownloadFileRequestType = "DownloadFileRequest" constant DeleteFileRequestType (line 12) | DeleteFileRequestType = "DeleteFileRequest" type FileDTO (line 15) | type FileDTO struct type HeartbeatDTO (line 20) | type HeartbeatDTO struct type DownloadFileRequestDTO (line 29) | type DownloadFileRequestDTO struct type DeleteFileRequestDTO (line 33) | type DeleteFileRequestDTO struct type AgentErrorDTO (line 37) | type AgentErrorDTO struct FILE: e2e/api/tests/_helpers.ts function setupClientWithCookieJar (line 40) | function setupClientWithCookieJar(_jar: tough.CookieJar | null = null) { function beforeAllSetupClientWithCookieJar (line 59) | function beforeAllSetupClientWithCookieJar() { function beforeAllSetupClientWithLogin (line 67) | function beforeAllSetupClientWithLogin({ username, password }: { usernam... FILE: e2e/browser/tests/auth.config.ts function getAuthFilePath (line 30) | function getAuthFilePath(username: string): string { FILE: e2e/browser/tests/auth.setup.ts function doAuth (line 4) | async function doAuth({ page, creds }) { FILE: frontend/src/api/account.ts function accountChangePassword (line 5) | function accountChangePassword(body: AccountChangePasswordRequestDTO): P... FILE: frontend/src/api/admin.ts function adminGetAllUsers (line 23) | function adminGetAllUsers(): Promise { function adminCreateUser (line 27) | function adminCreateUser(newUserData: AdminUserCreateRequestDTO): Promis... function adminUpdateUser (line 31) | function adminUpdateUser(id: string, userData: AdminUserUpdateRequestDTO... type AdminUserUpdatePasswordAction (line 35) | type AdminUserUpdatePasswordAction = 'remove' | 'generate' function adminUpdateUserPassword (line 37) | function adminUpdateUserPassword(id: string, action: AdminUserUpdatePass... function adminCreateServiceAccount (line 41) | function adminCreateServiceAccount( function adminDeleteUser (line 47) | function adminDeleteUser(id: string): Promise { function adminDeleteAgent (line 51) | function adminDeleteAgent(id: string): Promise { function adminCreateAgent (line 55) | function adminCreateAgent(newAgentData: AdminAgentCreateRequestDTO): Pro... function adminAgentSetMaintenance (line 59) | function adminAgentSetMaintenance(id: string, body: AdminAgentSetMaintan... function adminGetConfig (line 63) | function adminGetConfig(): Promise { function adminSetConfig (line 67) | function adminSetConfig(newConfig: AdminConfigRequestDTO): Promise { function adminGetAgentRegistrationKeys (line 75) | function adminGetAgentRegistrationKeys(): Promise { FILE: frontend/src/api/agent.ts function getAllAgents (line 5) | function getAllAgents(): Promise { FILE: frontend/src/api/attackTemplate.ts function getAllAttackTemplates (line 14) | function getAllAttackTemplates(): Promise { function createAttackTemplate (line 22) | function createAttackTemplate(newTemplate: AttackTemplateCreateRequestDT... function createAttackTemplateSet (line 26) | function createAttackTemplateSet(newTemplateSet: AttackTemplateCreateSet... function updateAttackTemplate (line 30) | function updateAttackTemplate(id: string, body: AttackTemplateUpdateRequ... FILE: frontend/src/api/auth.ts function loginWithCredentials (line 11) | function loginWithCredentials(username: string, password: string): Promi... function loginWithOIDCCallback (line 20) | function loginWithOIDCCallback(querystring: string): Promise { function startMFAChallenge (line 51) | function startMFAChallenge(): Promise { function changeTemporaryPassword (line 73) | function changeTemporaryPassword(body: AuthChangePasswordRequestDTO): Pr... function refreshAuth (line 77) | function refreshAuth(): Promise { function logout (line 81) | function logout(): Promise { FILE: frontend/src/api/config.ts function getCurrentConfig (line 8) | function getCurrentConfig(): Promise { FILE: frontend/src/api/hashcat.ts function loadHashTypes (line 5) | function loadHashTypes(): Promise { function detectHashType (line 11) | async function detectHashType(exampleHash: string): Promise { function checkCors (line 13) | function checkCors(): Promise { FILE: frontend/src/api/listfiles.ts constant LISTFILE_TYPE_WORDLIST (line 7) | const LISTFILE_TYPE_WORDLIST = 'Wordlist' constant LISTFILE_TYPE_RULEFILE (line 8) | const LISTFILE_TYPE_RULEFILE = 'Rulefile' type ListfileTypeT (line 10) | type ListfileTypeT = 'Wordlist' | 'Rulefile' function getAllListfiles (line 12) | function getAllListfiles(): Promise { function getListfilesForProject (line 16) | function getListfilesForProject(projectId: string): Promise { function uploadListfile (line 24) | function uploadListfile(body: FormData, onUploadProgress: (progress: Axi... FILE: frontend/src/api/potfile.ts function searchPotfile (line 5) | function searchPotfile(hashes: string[]): Promise { function getAllProjects (line 38) | function getAllProjects(): Promise { function getProject (line 42) | function getProject(projId: string): Promise { function getProjectShares (line 46) | function getProjectShares(projId: string): Promise { function addProjectShare (line 50) | function addProjectShare(projId: string, body: ProjectAddShareRequestDTO... function deleteProjectShare (line 54) | function deleteProjectShare(projId: string, userId: string): Promise { function deleteAttack (line 74) | function deleteAttack(attackId: string): Promise { function stopAttack (line 78) | function stopAttack(attackId: string): Promise { function startAttack (line 82) | function startAttack(attackId: string): Promise { function restartAttackFailedJobs (line 86) | function restartAttackFailedJobs(attackId: string): Promise { function getHashlistsForProject (line 90) | function getHashlistsForProject(projId: string): Promise { function deleteHashlist (line 98) | function deleteHashlist(hashlistId: string): Promise { function getAttacksForHashlist (line 102) | function getAttacksForHashlist(hashlistId: string): Promise { function getRunningJobs (line 116) | function getRunningJobs(): Promise { function getJobCountPerUser (line 120) | function getJobCountPerUser(): Promise { FILE: frontend/src/api/types.ts type AccountChangePasswordRequestDTO (line 3) | interface AccountChangePasswordRequestDTO { type AuthOIDCConfigDTO (line 7) | interface AuthOIDCConfigDTO { type GeneralAuthConfigDTO (line 19) | interface GeneralAuthConfigDTO { type AuthConfigDTO (line 24) | interface AuthConfigDTO { type AgentConfigDTO (line 28) | interface AgentConfigDTO { type GeneralConfigDTO (line 32) | interface GeneralConfigDTO { type AdminConfigRequestDTO (line 37) | interface AdminConfigRequestDTO { type AdminConfigResponseDTO (line 42) | interface AdminConfigResponseDTO { type AdminAgentCreateRequestDTO (line 47) | interface AdminAgentCreateRequestDTO { type AdminAgentCreateResponseDTO (line 51) | interface AdminAgentCreateResponseDTO { type AdminAgentRegistrationKeyCreateRequestDTO (line 57) | interface AdminAgentRegistrationKeyCreateRequestDTO { type AdminAgentRegistrationKeyCreateResponseDTO (line 61) | interface AdminAgentRegistrationKeyCreateResponseDTO { type AdminGetAgentRegistrationKeyDTO (line 67) | interface AdminGetAgentRegistrationKeyDTO { type AdminGetAllAgentRegistrationKeysResponseDTO (line 73) | interface AdminGetAllAgentRegistrationKeysResponseDTO { type AdminUserCreateRequestDTO (line 76) | interface AdminUserCreateRequestDTO { type AdminUserCreateResponseDTO (line 83) | interface AdminUserCreateResponseDTO { type AdminUserUpdatePasswordRequestDTO (line 89) | interface AdminUserUpdatePasswordRequestDTO { type AdminUserUpdatePasswordResponseDTO (line 92) | interface AdminUserUpdatePasswordResponseDTO { type AdminUserUpdateRequestDTO (line 95) | interface AdminUserUpdateRequestDTO { type AdminServiceAccountCreateRequestDTO (line 99) | interface AdminServiceAccountCreateRequestDTO { type AdminServiceAccountCreateResponseDTO (line 103) | interface AdminServiceAccountCreateResponseDTO { type AdminGetUserDTO (line 109) | interface AdminGetUserDTO { type AdminGetAllUsersResponseDTO (line 115) | interface AdminGetAllUsersResponseDTO { type AdminAgentSetMaintanceRequestDTO (line 119) | interface AdminAgentSetMaintanceRequestDTO { type HashcatStatusDevice (line 122) | interface HashcatStatusDevice { type AgentFileDTO (line 130) | interface AgentFileDTO { type AgentInfoDTO (line 134) | interface AgentInfoDTO { type AgentDTO (line 141) | interface AgentDTO { type AgentGetAllResponseDTO (line 149) | interface AgentGetAllResponseDTO { type AgentRegisterRequestDTO (line 152) | interface AgentRegisterRequestDTO { type AgentRegisterResponseDTO (line 155) | interface AgentRegisterResponseDTO { type HashcatParams (line 160) | interface HashcatParams { type AttackDTO (line 178) | interface AttackDTO { type AttackIDTreeDTO (line 185) | interface AttackIDTreeDTO { type JobRuntimeSummaryDTO (line 190) | interface JobRuntimeSummaryDTO { type HashcatStatusGuess (line 198) | interface HashcatStatusGuess { type HashcatStatus (line 209) | interface HashcatStatus { type JobRuntimeOutputLineDTO (line 225) | interface JobRuntimeOutputLineDTO { type Time (line 229) | interface Time {} type JobRuntimeDataDTO (line 230) | interface JobRuntimeDataDTO { type JobDTO (line 241) | interface JobDTO { type AttackWithJobsDTO (line 252) | interface AttackWithJobsDTO { type AttackWithJobsMultipleDTO (line 260) | interface AttackWithJobsMultipleDTO { type AttackMultipleDTO (line 263) | interface AttackMultipleDTO { type AttackIDTreeMultipleDTO (line 266) | interface AttackIDTreeMultipleDTO { type AttackCreateRequestDTO (line 269) | interface AttackCreateRequestDTO { type AttackStartResponseDTO (line 274) | interface AttackStartResponseDTO { type AttackTemplateDTO (line 278) | interface AttackTemplateDTO { type AttackTemplateGetAllResponseDTO (line 286) | interface AttackTemplateGetAllResponseDTO { type AttackTemplateCreateRequestDTO (line 289) | interface AttackTemplateCreateRequestDTO { type AttackTemplateCreateSetRequestDTO (line 293) | interface AttackTemplateCreateSetRequestDTO { type AttackTemplateUpdateRequestDTO (line 297) | interface AttackTemplateUpdateRequestDTO { type AuthLoginRequestDTO (line 303) | interface AuthLoginRequestDTO { type AuthCurrentUserDTO (line 307) | interface AuthCurrentUserDTO { type AuthLoginResponseDTO (line 313) | interface AuthLoginResponseDTO { type AuthWhoamiResponseDTO (line 319) | interface AuthWhoamiResponseDTO { type AuthRefreshResponseDTO (line 325) | interface AuthRefreshResponseDTO { type AuthenticatorSelection (line 331) | interface AuthenticatorSelection { type CredentialDescriptor (line 337) | interface CredentialDescriptor { type CredentialParameter (line 342) | interface CredentialParameter { type UserEntity (line 346) | interface UserEntity { type RelyingPartyEntity (line 351) | interface RelyingPartyEntity { type PublicKeyCredentialCreationOptions (line 355) | interface PublicKeyCredentialCreationOptions { type AuthWebAuthnStartEnrollmentResponseDTO (line 368) | interface AuthWebAuthnStartEnrollmentResponseDTO { type PublicKeyCredentialRequestOptions (line 371) | interface PublicKeyCredentialRequestOptions { type AuthWebAuthnStartChallengeResponseDTO (line 380) | interface AuthWebAuthnStartChallengeResponseDTO { type AuthChangePasswordRequestDTO (line 383) | interface AuthChangePasswordRequestDTO { type PublicOIDCConfigDTO (line 387) | interface PublicOIDCConfigDTO { type PublicAuthConfigDTO (line 390) | interface PublicAuthConfigDTO { type PublicGeneralConfigDTO (line 394) | interface PublicGeneralConfigDTO { type PublicConfigDTO (line 399) | interface PublicConfigDTO { type HashType (line 403) | interface HashType { type HashTypesDTO (line 423) | interface HashTypesDTO { type DetectHashTypeRequestDTO (line 426) | interface DetectHashTypeRequestDTO { type DetectHashTypeResponseDTO (line 430) | interface DetectHashTypeResponseDTO { type VerifyHashesRequestDTO (line 433) | interface VerifyHashesRequestDTO { type VerifyHashesResponseDTO (line 438) | interface VerifyHashesResponseDTO { type NormalizeHashesResponseDTO (line 441) | interface NormalizeHashesResponseDTO { type HashlistCreateRequestDTO (line 445) | interface HashlistCreateRequestDTO { type HashlistAppendRequestDTO (line 452) | interface HashlistAppendRequestDTO { type HashlistAppendResponseDTO (line 455) | interface HashlistAppendResponseDTO { type HashlistCreateResponseDTO (line 459) | interface HashlistCreateResponseDTO { type HashlistHashDTO (line 463) | interface HashlistHashDTO { type HashlistDTO (line 472) | interface HashlistDTO { type HashlistResponseMultipleDTO (line 482) | interface HashlistResponseMultipleDTO { type JobCreateRequestDTO (line 485) | interface JobCreateRequestDTO { type JobCreateResponseDTO (line 492) | interface JobCreateResponseDTO { type JobStartResponseDTO (line 495) | interface JobStartResponseDTO { type JobSimpleDTO (line 499) | interface JobSimpleDTO { type JobMultipleDTO (line 506) | interface JobMultipleDTO { type RunningJobForUserDTO (line 509) | interface RunningJobForUserDTO { type RunningJobsForUserResponseDTO (line 515) | interface RunningJobsForUserResponseDTO { type RunningJobCountForUserDTO (line 518) | interface RunningJobCountForUserDTO { type RunningJobCountPerUsersDTO (line 522) | interface RunningJobCountPerUsersDTO { type ListfileDTO (line 525) | interface ListfileDTO { type GetAllWordlistsDTO (line 536) | interface GetAllWordlistsDTO { type GetAllRuleFilesDTO (line 539) | interface GetAllRuleFilesDTO { type GetAllListfilesDTO (line 542) | interface GetAllListfilesDTO { type ListfileUploadResponseDTO (line 545) | interface ListfileUploadResponseDTO { type PotfileSearchRequestDTO (line 548) | interface PotfileSearchRequestDTO { type PotfileSearchResultDTO (line 551) | interface PotfileSearchResultDTO { type PotfileSearchResponseDTO (line 557) | interface PotfileSearchResponseDTO { type ProjectCreateRequestDTO (line 560) | interface ProjectCreateRequestDTO { type ProjectDTO (line 564) | interface ProjectDTO { type ProjectResponseMultipleDTO (line 571) | interface ProjectResponseMultipleDTO { type ProjectAddShareRequestDTO (line 574) | interface ProjectAddShareRequestDTO { type ProjectSharesDTO (line 577) | interface ProjectSharesDTO { type UserDTO (line 580) | interface UserDTO { type UserMinimalDTO (line 585) | interface UserMinimalDTO { type UsersGetAllResponseDTO (line 589) | interface UsersGetAllResponseDTO { FILE: frontend/src/api/users.ts type UserRole (line 5) | enum UserRole { function getAllUsers (line 18) | function getAllUsers(): Promise { FILE: frontend/src/composables/useApi.ts type UseAPIState (line 8) | interface UseAPIState { type UseAPIOptions (line 14) | interface UseAPIOptions { function useApi (line 21) | function useApi(apiFunc: () => Promise, options: UseAP... FILE: frontend/src/composables/useHashesInput.ts function useHashesInput (line 3) | function useHashesInput() { FILE: frontend/src/composables/usePagination.ts function usePagination (line 4) | function usePagination(items: Ref, itemsPerPage: number) { FILE: frontend/src/composables/useToastError.ts function useToastError (line 4) | function useToastError() { FILE: frontend/src/composables/useWizardHashDetect.ts function useWizardHashDetect (line 7) | function useWizardHashDetect(hashesArr: Ref) { FILE: frontend/src/router/index.ts function withDefaultLayout (line 5) | function withDefaultLayout(component: () => any, name: string) { function route (line 12) | function route(path: string, name: string, component: () => any) { FILE: frontend/src/stores/activeAttacks.ts type ActiveAttacksStore (line 6) | type ActiveAttacksStore = { method load (line 21) | async load() { FILE: frontend/src/stores/adminConfig.ts type ConfigStore (line 6) | type ConfigStore = { method load (line 15) | async load() { method update (line 29) | async update(newConfig: AdminConfigRequestDTO) { FILE: frontend/src/stores/agents.ts type AgentsStore (line 6) | type AgentsStore = { method load (line 19) | async load(forceRefetch = false) { FILE: frontend/src/stores/attackTemplates.ts type AttackTemplatesStore (line 18) | type AttackTemplatesStore = { method load (line 31) | async load(forceRefresh: boolean = false) { method delete (line 58) | async delete(templateId: string) { method create (line 64) | async create(newTemplate: AttackTemplateCreateRequestDTO) { method createSet (line 70) | async createSet(newTemplate: AttackTemplateCreateSetRequestDTO) { method update (line 76) | async update(id: string, body: AttackTemplateUpdateRequestDTO) { FILE: frontend/src/stores/auth.ts type AuthState (line 6) | type AuthState = { method handleOIDCCallback (line 31) | async handleOIDCCallback(querystring: string) { method login (line 49) | async login(username: string, password: string): Promise { method logout (line 66) | async logout() { method refreshAuth (line 76) | async refreshAuth() { FILE: frontend/src/stores/config.ts type ConfigStore (line 6) | type ConfigStore = { method load (line 15) | async load() { FILE: frontend/src/stores/listfiles.ts type ListfileStore (line 6) | type ListfileStore = { method load (line 23) | async load(forceRefetch = false) { method loadForProject (line 39) | async loadForProject(projectId: string) { FILE: frontend/src/stores/projects.ts type ProjectsState (line 6) | type ProjectsState = { method load (line 19) | async load(forceRefetch: boolean = false) { FILE: frontend/src/stores/resources.ts type ResourceStore (line 6) | type ResourceStore = { method loadHashTypes (line 19) | async loadHashTypes() { method loadAll (line 31) | loadAll() { FILE: frontend/src/stores/users.ts type UsersState (line 6) | type UsersState = { method load (line 19) | async load(forceRefetch: boolean = false) { FILE: frontend/src/util/decodeHex.ts function decodeHex (line 1) | function decodeHex(input: string): string { FILE: frontend/src/util/exportHashlist.ts type ExportFormat (line 4) | enum ExportFormat { function getExportBlob (line 20) | function getExportBlob(hashes: HashlistHashDTO[], format: ExportFormat, ... function getExportFilename (line 51) | function getExportFilename(hashlist: HashlistDTO, format: ExportFormat) { function exportResults (line 62) | async function exportResults(hashlistId: string, format: ExportFormat, c... FILE: frontend/src/util/formatDeviceName.ts function formatDeviceName (line 2) | function formatDeviceName(deviceName: string): string { FILE: frontend/src/util/hashcat.ts type AttackMode (line 5) | enum AttackMode { function getAttackModeName (line 32) | function getAttackModeName(id: number): string { function modeHasMask (line 36) | function modeHasMask(value: number): boolean { type MaskInfo (line 40) | interface MaskInfo { function hashrateStr (line 59) | function hashrateStr(hashrate: number): string { function isLoopbackValid (line 71) | function isLoopbackValid(attackSettings: AttackSettingsT): boolean { function makeHashcatParams (line 76) | function makeHashcatParams(hashType: number, attackSettings: AttackSetti... FILE: frontend/src/util/sleep.ts function sleep (line 1) | function sleep(ms: number) { FILE: frontend/src/util/units.ts function timeSince (line 1) | function timeSince(timestamp: number): string { function timeBetween (line 25) | function timeBetween(startTime: number, endTime: number): string { function timeDurationToReadable (line 41) | function timeDurationToReadable(durationInSeconds: number): string { function bytesToReadable (line 60) | function bytesToReadable(bytes: number): string { FILE: frontend/src/util/util.ts function pluralise (line 1) | function pluralise(count: number, singular: string, plural: string = sin...