Skip to content

Commit 54af296

Browse files
author
Dr. Brandon Wiley
committed
Merging
1 parent 49b6712 commit 54af296

4 files changed

Lines changed: 43 additions & 9 deletions

File tree

AdversaryLabSwift.xcodeproj/project.pbxproj

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
468B264C2023C099000A2B5D /* Datable.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 46D8512F201FE4B50052DF49 /* Datable.framework */; };
2828
468B264D2023C099000A2B5D /* Datable.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 46D8512F201FE4B50052DF49 /* Datable.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
2929
468B26522023D016000A2B5D /* ObservedConnections.swift in Sources */ = {isa = PBXBuildFile; fileRef = 468B26512023D016000A2B5D /* ObservedConnections.swift */; };
30+
CA727CD42050A3580051A01B /* README.md in Resources */ = {isa = PBXBuildFile; fileRef = CA727CD32050A3580051A01B /* README.md */; };
3031
/* End PBXBuildFile section */
3132

3233
/* Begin PBXContainerItemProxy section */
@@ -141,6 +142,7 @@
141142
467E49392017F166008B19E3 /* Constants.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Constants.swift; sourceTree = "<group>"; };
142143
468B26232023B609000A2B5D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
143144
468B26512023D016000A2B5D /* ObservedConnections.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ObservedConnections.swift; sourceTree = "<group>"; };
145+
CA727CD32050A3580051A01B /* README.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = "<group>"; };
144146
/* End PBXFileReference section */
145147

146148
/* Begin PBXFrameworksBuildPhase section */
@@ -202,6 +204,7 @@
202204
4651A14420083BF700037D31 = {
203205
isa = PBXGroup;
204206
children = (
207+
CA727CD32050A3580051A01B /* README.md */,
205208
4651A1A62009401F00037D31 /* AdversaryLabSwiftTests */,
206209
4651A14F20083BF700037D31 /* AdversaryLabSwift */,
207210
4651A16D20083BF700037D31 /* AdversaryLabSwiftUITests */,
@@ -438,6 +441,7 @@
438441
isa = PBXResourcesBuildPhase;
439442
buildActionMask = 2147483647;
440443
files = (
444+
CA727CD42050A3580051A01B /* README.md in Resources */,
441445
4651A15520083BF700037D31 /* Assets.xcassets in Resources */,
442446
4651A15820083BF700037D31 /* Main.storyboard in Resources */,
443447
);
@@ -646,12 +650,15 @@
646650
buildSettings = {
647651
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
648652
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
653+
CODE_SIGN_IDENTITY = "Mac Developer";
649654
CODE_SIGN_STYLE = Automatic;
650655
COMBINE_HIDPI_IMAGES = YES;
656+
DEVELOPMENT_TEAM = 67Y4NSLDQ3;
651657
INFOPLIST_FILE = AdversaryLabSwift/Info.plist;
652658
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @executable_path/Frameworks";
653659
PRODUCT_BUNDLE_IDENTIFIER = org.operatorFoundation.AdversaryLabSwift;
654660
PRODUCT_NAME = "$(TARGET_NAME)";
661+
PROVISIONING_PROFILE_SPECIFIER = "";
655662
SWIFT_VERSION = 4.0;
656663
};
657664
name = Debug;
@@ -661,12 +668,15 @@
661668
buildSettings = {
662669
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
663670
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
671+
CODE_SIGN_IDENTITY = "Mac Developer";
664672
CODE_SIGN_STYLE = Automatic;
665673
COMBINE_HIDPI_IMAGES = YES;
674+
DEVELOPMENT_TEAM = 67Y4NSLDQ3;
666675
INFOPLIST_FILE = AdversaryLabSwift/Info.plist;
667676
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @executable_path/Frameworks";
668677
PRODUCT_BUNDLE_IDENTIFIER = org.operatorFoundation.AdversaryLabSwift;
669678
PRODUCT_NAME = "$(TARGET_NAME)";
679+
PROVISIONING_PROFILE_SPECIFIER = "";
670680
SWIFT_VERSION = 4.0;
671681
};
672682
name = Release;

AdversaryLabSwiftPackage/Package.resolved

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

AdversaryLabSwiftPackage/Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import PackageDescription
55
let package = Package(
66
name: "AdversaryLabSwiftPackage",
77
dependencies: [
8-
.package(url: "https://github.com/OperatorFoundation/Auburn.git", from: "0.1.8"),
8+
.package(url: "https://github.com/OperatorFoundation/Auburn.git", from: "0.1.9"),
99
],
1010
targets: [
1111
.target(

README.md

Lines changed: 28 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,46 @@ For instance, a simulated adversary could allow HTTP, but block HTTPS. By traini
1818

1919
### Prerequisites
2020

21-
Swift 4.0
21+
Swift 4.0, included in Xcode 9
2222

23-
Install and run Redis. Refer to the [Redis documentation](https://redis.io/download) to install and run Redis.
23+
Install and run Redis.
24+
25+
You can install it with Homebrew
26+
27+
```
28+
brew install redis
29+
brew services start redis
30+
```
31+
32+
Or refer to the [Redis documentation](https://redis.io/download) to install it manually.
2433

2534
### Installing
2635

27-
Or check out directly
36+
Check out the project from Github
2837

2938
```
3039
git clone https://github.com/OperatorFoundation/AdversaryLab
3140
cd AdversaryLab
3241
```
3342

43+
Install the Swift Package used by the graphical interface
44+
45+
```
46+
cd AdversaryLabSwiftPackage
47+
swift package update
48+
swift package generate-xcodeproj
49+
cd ..
50+
```
51+
52+
Open the graphical interface project in code
53+
54+
```
55+
open AdversaryLabSwift.xcodeproj
56+
```
57+
3458
## Deployment
3559

36-
Open the Xcode project and click the Run button to run the Adversary Lab graphical interface.
60+
Open the Xcode project and click the Run button to run the Adversary Lab graphical interface. Make sure Redis is already running, as Adversary Lab will not start Redis for you.
3761

3862
To add network traffic to Adversary Lab for analysis, you need the AdversaryLabClient command line tool. For the [installation
3963
instructions](https://github.com/OperatorFoundation/AdversaryLabClient) to install and use the command line tool.

0 commit comments

Comments
 (0)