Skip to content

Commit 9339adf

Browse files
committed
chore: PFC
1 parent f1f8624 commit 9339adf

File tree

12 files changed

+26
-6
lines changed

12 files changed

+26
-6
lines changed

packages/go/cypher/models/pgsql/test/translation_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ func TestTranslate(t *testing.T) {
5555
)
5656

5757
if updateCases, varSet := os.LookupEnv("CYSQL_UPDATE_CASES"); varSet && strings.ToLower(strings.TrimSpace(updateCases)) == "true" {
58-
if err := UpdateTranslationTestCases(kindMapper); err != nil {
58+
if err := UpdateTranslationTestCases(kindMapper); err != nil {
5959
fmt.Printf("Error updating cases: %v\n", err)
6060
}
6161
}

packages/go/cypher/models/pgsql/translate/building.go

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ package translate
1818

1919
import (
2020
"errors"
21+
2122
"github.com/specterops/bloodhound/cypher/models/pgsql"
2223
)
2324

packages/go/cypher/models/pgsql/translate/constraints.go

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ package translate
1818

1919
import (
2020
"fmt"
21+
2122
"github.com/specterops/bloodhound/cypher/models/walk"
2223

2324
"github.com/specterops/bloodhound/cypher/models/pgsql"

packages/go/cypher/models/pgsql/translate/expansion.go

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ package translate
1818

1919
import (
2020
"fmt"
21+
2122
"github.com/specterops/bloodhound/cypher/models"
2223
"github.com/specterops/bloodhound/cypher/models/pgsql"
2324
"github.com/specterops/bloodhound/cypher/models/pgsql/format"

packages/go/cypher/models/pgsql/translate/format.go

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ package translate
1919
import (
2020
"bytes"
2121
"context"
22+
2223
"github.com/specterops/bloodhound/cypher/models/cypher"
2324
cypherFormat "github.com/specterops/bloodhound/cypher/models/cypher/format"
2425
"github.com/specterops/bloodhound/cypher/models/pgsql"

packages/go/cypher/models/pgsql/translate/model.go

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ package translate
1818

1919
import (
2020
"fmt"
21+
2122
"github.com/specterops/bloodhound/cypher/models/walk"
2223

2324
"github.com/specterops/bloodhound/cypher/models"

packages/go/cypher/models/pgsql/translate/query.go

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ package translate
1818

1919
import (
2020
"fmt"
21+
2122
"github.com/specterops/bloodhound/cypher/models/cypher"
2223
"github.com/specterops/bloodhound/cypher/models/pgsql"
2324
)

packages/go/dawgs/drivers/pg/query/sql/bidirectional_bfs_test.sql

+16
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
-- Copyright 2025 Specter Ops, Inc.
2+
--
3+
-- Licensed under the Apache License, Version 2.0
4+
-- you may not use this file except in compliance with the License.
5+
-- You may obtain a copy of the License at
6+
--
7+
-- http://www.apache.org/licenses/LICENSE-2.0
8+
--
9+
-- Unless required by applicable law or agreed to in writing, software
10+
-- distributed under the License is distributed on an "AS IS" BASIS,
11+
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
-- See the License for the specific language governing permissions and
13+
-- limitations under the License.
14+
--
15+
-- SPDX-License-Identifier: Apache-2.0
16+
117
-- insert into next_front (root_id, next_id, depth, satisfied, is_cycle, path) select e.start_id, e.end_id, 1, e.end_id = 2579859, e.start_id = e.end_id, array [e.id] from edge e where e.start_id = 6746823;
218
-- insert into next_front (root_id, next_id, depth, satisfied, is_cycle, path) select r.root_id, e.end_id, 1, e.end_id = 2579859, e.id = any (r.path), r.path || e.id from root_front r join edge e on e.start_id = r.next_id;
319
-- insert into next_front (root_id, next_id, depth, satisfied, is_cycle, path) select e.end_id, e.start_id, 1, e.start_id = 6746823, e.start_id = e.end_id, array [e.id] from edge e where e.end_id = 2579859;

packages/javascript/bh-shared-ui/src/components/HelpTexts/CoerceAndRelayNTLMToADCS/General.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ const General: FC<EdgeInfoProps> = () => {
3030
</Typography>
3131

3232
<Typography variant='body2'>
33-
Click on Relay Targets to view the certificate templates and vulnerable enterprise CA servers that enable
34-
certificate enrollment for the target computer.
33+
Click on Relay Targets to view the certificate templates and vulnerable enterprise CA servers that
34+
enable certificate enrollment for the target computer.
3535
</Typography>
3636
</>
3737
);

packages/javascript/bh-shared-ui/src/components/HelpTexts/CoerceAndRelayNTLMToLDAP/CoerceAndRelayNTLMToLDAP.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ const CoerceAndRelayNTLMToLDAP = {
2828
linuxAbuse: LinuxAbuse,
2929
opsec: Opsec,
3030
references: References,
31-
3231
};
3332

3433
export default CoerceAndRelayNTLMToLDAP;

packages/javascript/bh-shared-ui/src/components/HelpTexts/CoerceAndRelayNTLMToLDAPS/CoerceAndRelayNTLMToLDAPS.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const CoerceAndRelayNTLMToLDAPS = {
2727
windowsAbuse: WindowsAbuse,
2828
linuxAbuse: LinuxAbuse,
2929
opsec: Opsec,
30-
references: References
30+
references: References,
3131
};
3232

3333
export default CoerceAndRelayNTLMToLDAPS;

packages/javascript/bh-shared-ui/src/components/HelpTexts/CoerceAndRelayNTLMToSMB/CoerceAndRelayNTLMToSMB.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ const CoerceAndRelayNTLMToSMB = {
2828
linuxAbuse: LinuxAbuse,
2929
opsec: Opsec,
3030
references: References,
31-
3231
};
3332

3433
export default CoerceAndRelayNTLMToSMB;

0 commit comments

Comments
 (0)