Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: added asreproastable #4990

Merged
merged 3 commits into from
Apr 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
110 changes: 55 additions & 55 deletions pkg/js/generated/ts/kerberos.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,9 +200,9 @@ export interface AuthorizationDataEntry {
*/
export interface BitString {

Bytes?: Uint8Array,

BitLength?: number,

Bytes?: Uint8Array,
}


Expand All @@ -212,9 +212,9 @@ export interface BitString {
*/
export interface BitString {

Bytes?: Uint8Array,

BitLength?: number,

Bytes?: Uint8Array,
}


Expand All @@ -236,17 +236,15 @@ export interface Config {
*/
export interface EncTicketPart {

RenewTill?: Date,

CRealm?: string,

AuthTime?: Date,

StartTime?: Date,

EndTime?: Date,

Transited?: TransitedEncoding,
RenewTill?: Date,

CRealm?: string,

CAddr?: HostAddress,

Expand All @@ -257,6 +255,8 @@ export interface EncTicketPart {
Key?: EncryptionKey,

CName?: PrincipalName,

Transited?: TransitedEncoding,
}


Expand All @@ -266,11 +266,11 @@ export interface EncTicketPart {
*/
export interface EncryptedData {

KVNO?: number,

Cipher?: Uint8Array,

EType?: number,

KVNO?: number,
}


Expand Down Expand Up @@ -318,81 +318,81 @@ export interface HostAddress {
*/
export interface LibDefaults {

/**
* time in nanoseconds
*/
NoAddresses?: boolean,

Clockskew?: number,
RealmTryDomains?: number,

KDCTimeSync?: number,
DNSLookupKDC?: boolean,

DefaultRealm?: string,

SafeChecksumType?: number,

/**
* time in nanoseconds
*/
VerifyAPReqNofail?: boolean,

TicketLifetime?: number,
AllowWeakCrypto?: boolean,

Forwardable?: boolean,
DefaultTGSEnctypes?: string[],

K5LoginAuthoritative?: boolean,
DefaultTktEnctypeIDs?: number[],

AllowWeakCrypto?: boolean,
IgnoreAcceptorHostname?: boolean,

DefaultClientKeytabName?: string,
K5LoginAuthoritative?: boolean,

DefaultTktEnctypes?: string[],
PermittedEnctypes?: string[],

ExtraAddresses?: Uint8Array,
/**
* time in nanoseconds
*/

K5LoginDirectory?: string,
Clockskew?: number,

PreferredPreauthTypes?: number[],
DNSCanonicalizeHostname?: boolean,

Proxiable?: boolean,

RDNS?: boolean,

DefaultKeytabName?: string,
/**
* time in nanoseconds
*/

DefaultRealm?: string,
TicketLifetime?: number,

DefaultTGSEnctypeIDs?: number[],
DefaultClientKeytabName?: string,

DNSCanonicalizeHostname?: boolean,
PermittedEnctypeIDs?: number[],

PermittedEnctypes?: string[],
UDPPreferenceLimit?: number,

VerifyAPReqNofail?: boolean,
DefaultTGSEnctypeIDs?: number[],

DNSLookupRealm?: boolean,
DefaultTktEnctypes?: string[],

UDPPreferenceLimit?: number,
CCacheType?: number,

Canonicalize?: boolean,
DNSLookupRealm?: boolean,

CCacheType?: number,
ExtraAddresses?: Uint8Array,

DefaultTGSEnctypes?: string[],
PreferredPreauthTypes?: number[],

Proxiable?: boolean,
Canonicalize?: boolean,

DNSLookupKDC?: boolean,
Forwardable?: boolean,

RealmTryDomains?: number,
K5LoginDirectory?: string,

KDCTimeSync?: number,

/**
* time in nanoseconds
*/

RenewLifetime?: number,

DefaultTktEnctypeIDs?: number[],

IgnoreAcceptorHostname?: boolean,

NoAddresses?: boolean,

PermittedEnctypeIDs?: number[],
DefaultKeytabName?: string,

KDCDefaultOptions?: BitString,
}
Expand All @@ -404,9 +404,9 @@ export interface LibDefaults {
*/
export interface PrincipalName {

NameType?: number,

NameString?: string[],

NameType?: number,
}


Expand All @@ -416,8 +416,6 @@ export interface PrincipalName {
*/
export interface Realm {

Realm?: string,

AdminServer?: string[],

DefaultDomain?: string,
Expand All @@ -427,6 +425,8 @@ export interface Realm {
KPasswdServer?: string[],

MasterKDC?: string[],

Realm?: string,
}


Expand All @@ -450,10 +450,10 @@ export interface TGS {
*/
export interface Ticket {

Realm?: string,

TktVNO?: number,

Realm?: string,

SName?: PrincipalName,

EncPart?: EncryptedData,
Expand Down
16 changes: 16 additions & 0 deletions pkg/js/generated/ts/ldap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,22 @@ export class Client {
}


/**
* GetADUserAsRepRoastable returns all AD users that are AsRepRoastable
* using FilterIsPerson, and FilterDontRequirePreauth filter query
* @example
* ```javascript
* const ldap = require('nuclei/ldap');
* const client = new ldap.Client('ldap://ldap.example.com', 'acme.com');
* const AsRepRoastable = client.GetADUserAsRepRoastable();
* log(to_json(AsRepRoastable));
* ```
*/
public GetADUserAsRepRoastable(): ADObject[] {
return [];
}


/**
* GetADDomainSID returns the SID of the AD domain
* @example
Expand Down
4 changes: 2 additions & 2 deletions pkg/js/generated/ts/mysql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,9 +209,9 @@ export interface MySQLOptions {
*/
export interface SQLResult {

Columns?: string[],

Count?: number,

Columns?: string[],
}


Expand Down
30 changes: 15 additions & 15 deletions pkg/js/generated/ts/smb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,6 @@ export interface NegotiationLog {
*/
export interface SMBCapabilities {

DFSSupport?: boolean,

Leasing?: boolean,

LargeMTU?: boolean,

MultiChan?: boolean,
Expand All @@ -150,6 +146,10 @@ export interface SMBCapabilities {
DirLeasing?: boolean,

Encryption?: boolean,

DFSSupport?: boolean,

Leasing?: boolean,
}


Expand All @@ -159,6 +159,8 @@ export interface SMBCapabilities {
*/
export interface SMBLog {

SupportV1?: boolean,

NativeOs?: string,

NTLM?: string,
Expand All @@ -167,15 +169,13 @@ export interface SMBLog {

HasNTLM?: boolean,

SupportV1?: boolean,
Version?: SMBVersions,

Capabilities?: SMBCapabilities,

NegotiationLog?: NegotiationLog,

SessionSetupLog?: SessionSetupLog,

Version?: SMBVersions,
}


Expand All @@ -185,13 +185,13 @@ export interface SMBLog {
*/
export interface SMBVersions {

VerString?: string,

Major?: number,

Minor?: number,

Revision?: number,

VerString?: string,
}


Expand All @@ -201,10 +201,6 @@ export interface SMBVersions {
*/
export interface ServiceSMB {

SigningEnabled?: boolean,

SigningRequired?: boolean,

OSVersion?: string,

NetBIOSComputerName?: string,
Expand All @@ -216,6 +212,10 @@ export interface ServiceSMB {
DNSDomainName?: string,

ForestName?: string,

SigningEnabled?: boolean,

SigningRequired?: boolean,
}


Expand All @@ -225,12 +225,12 @@ export interface ServiceSMB {
*/
export interface SessionSetupLog {

NegotiateFlags?: number,

SetupFlags?: number,

TargetName?: string,

NegotiateFlags?: number,

HeaderLog?: HeaderLog,
}

Loading
Loading