diff --git a/components.d.ts b/components.d.ts index 3e14a292..b65461ee 100644 --- a/components.d.ts +++ b/components.d.ts @@ -11,6 +11,7 @@ declare module '@vue/runtime-core' { export interface GlobalComponents { '404.page': typeof import('./src/pages/404.page.vue')['default'] About: typeof import('./src/pages/About.vue')['default'] + AdLdapSearcher: typeof import('./src/tools/ad-ldap-searcher/ad-ldap-searcher.vue')['default'] AiPromptSplitter: typeof import('./src/tools/ai-prompt-splitter/ai-prompt-splitter.vue')['default'] AlarmSoundToggle: typeof import('./src/tools/pomodoro-timer/app/components/AlarmSoundToggle.vue')['default'] AngleConverter: typeof import('./src/tools/angle-converter/angle-converter.vue')['default'] @@ -289,6 +290,7 @@ declare module '@vue/runtime-core' { NP: typeof import('naive-ui')['NP'] NRate: typeof import('naive-ui')['NRate'] NScrollbar: typeof import('naive-ui')['NScrollbar'] + NTable: typeof import('naive-ui')['NTable'] NTag: typeof import('naive-ui')['NTag'] NumberInput: typeof import('./src/tools/pomodoro-timer/app/components/NumberInput.vue')['default'] NumeronymGenerator: typeof import('./src/tools/numeronym-generator/numeronym-generator.vue')['default'] diff --git a/src/tools/ad-ldap-searcher/ad-ldap-searcher.vue b/src/tools/ad-ldap-searcher/ad-ldap-searcher.vue new file mode 100644 index 00000000..0918bce2 --- /dev/null +++ b/src/tools/ad-ldap-searcher/ad-ldap-searcher.vue @@ -0,0 +1,74 @@ + + + diff --git a/src/tools/ad-ldap-searcher/ad-mapping.json b/src/tools/ad-ldap-searcher/ad-mapping.json new file mode 100644 index 00000000..ab4d18dd --- /dev/null +++ b/src/tools/ad-ldap-searcher/ad-mapping.json @@ -0,0 +1,157 @@ +[ + { + "TAB": "General", + "ActiveDirectoryField": "First Name", + "LDAPAttribute": "givenName" + }, + { + "TAB": "General", + "ActiveDirectoryField": "Initials", + "LDAPAttribute": "initials" + }, + { + "TAB": "General", + "ActiveDirectoryField": "Last name", + "LDAPAttribute": "sn" + }, + { + "TAB": "General", + "ActiveDirectoryField": "Display name", + "LDAPAttribute": "displayName" + }, + { + "TAB": "General", + "ActiveDirectoryField": "Description", + "LDAPAttribute": "description" + }, + { + "TAB": "General", + "ActiveDirectoryField": "Office", + "LDAPAttribute": "physicalDeliveryOfficeName" + }, + { + "TAB": "General", + "ActiveDirectoryField": "Telephone number", + "LDAPAttribute": "telephoneNumber" + }, + { + "TAB": "General", + "ActiveDirectoryField": "E-mail", + "LDAPAttribute": "mail" + }, + { + "TAB": "General", + "ActiveDirectoryField": "Web page", + "LDAPAttribute": "wWWHomePage" + }, + { + "TAB": "Address", + "ActiveDirectoryField": "Street", + "LDAPAttribute": "streetAddress" + }, + { + "TAB": "Address", + "ActiveDirectoryField": "P.O Box", + "LDAPAttribute": "postOfficeBox" + }, + { + "TAB": "Address", + "ActiveDirectoryField": "City", + "LDAPAttribute": "l" + }, + { + "TAB": "Address", + "ActiveDirectoryField": "State/province", + "LDAPAttribute": "St" + }, + { + "TAB": "Address", + "ActiveDirectoryField": "Zip/Postal Code", + "LDAPAttribute": "postalCode" + }, + { + "TAB": "Address", + "ActiveDirectoryField": "County/region", + "LDAPAttribute": "co" + }, + { + "TAB": "Account", + "ActiveDirectoryField": "User logon name", + "LDAPAttribute": "userPrincipalName" + }, + { + "TAB": "Account", + "ActiveDirectoryField": "user logon name (pre-Windows 200)", + "LDAPAttribute": "sAMAccountName" + }, + { + "TAB": "Profile", + "ActiveDirectoryField": "Profile path", + "LDAPAttribute": "profilePath" + }, + { + "TAB": "Profile", + "ActiveDirectoryField": "Logon script", + "LDAPAttribute": "scriptPath" + }, + { + "TAB": "Profile", + "ActiveDirectoryField": "Local path", + "LDAPAttribute": "homeDirectory" + }, + { + "TAB": "Profile", + "ActiveDirectoryField": "Connect", + "LDAPAttribute": "homeDrive" + }, + { + "TAB": "Telephones", + "ActiveDirectoryField": "Home", + "LDAPAttribute": "homePhone" + }, + { + "TAB": "Telephones", + "ActiveDirectoryField": "Pager", + "LDAPAttribute": "pager" + }, + { + "TAB": "Telephones", + "ActiveDirectoryField": "Mobile", + "LDAPAttribute": "Mobile" + }, + { + "TAB": "Telephones", + "ActiveDirectoryField": "Fax", + "LDAPAttribute": "facsimileTelephoneNumber" + }, + { + "TAB": "Telephones", + "ActiveDirectoryField": "IP Phone", + "LDAPAttribute": "ipPhone" + }, + { + "TAB": "Organization", + "ActiveDirectoryField": "Job Title", + "LDAPAttribute": "title" + }, + { + "TAB": "Organization", + "ActiveDirectoryField": "Department", + "LDAPAttribute": "department" + }, + { + "TAB": "Organization", + "ActiveDirectoryField": "Company", + "LDAPAttribute": "company" + }, + { + "TAB": "Organization", + "ActiveDirectoryField": "Manager", + "LDAPAttribute": "manager" + }, + { + "TAB": "Organization", + "ActiveDirectoryField": "Direct Reports", + "LDAPAttribute": "directreports" + } +] diff --git a/src/tools/ad-ldap-searcher/index.ts b/src/tools/ad-ldap-searcher/index.ts new file mode 100644 index 00000000..4e557750 --- /dev/null +++ b/src/tools/ad-ldap-searcher/index.ts @@ -0,0 +1,13 @@ +import { Folder } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: 'ActiveDirectory LDAP properties searcher', + path: '/ad-ldap-searcher', + description: 'Search in mapping of LDAP properties and ActiveDirectory UI', + keywords: ['active', 'directory', 'ad', 'ldap', 'prop', 'searcher'], + component: () => import('./ad-ldap-searcher.vue'), + icon: Folder, + createdAt: new Date('2024-08-15'), + category: 'Forensic', +});