Skip to content

Commit 4036e0e

Browse files
committed
Adding Pause Bot
1 parent bfe3e9f commit 4036e0e

File tree

9 files changed

+320
-214
lines changed

9 files changed

+320
-214
lines changed

AdversaryLabSwift.xcodeproj/project.pbxproj

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@
3535
468B264D2023C099000A2B5D /* Datable.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 46D8512F201FE4B50052DF49 /* Datable.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
3636
468B26522023D016000A2B5D /* ObservedConnections.swift in Sources */ = {isa = PBXBuildFile; fileRef = 468B26512023D016000A2B5D /* ObservedConnections.swift */; };
3737
468EF6B6207FEDA40007D0DF /* subsequences.so in Resources */ = {isa = PBXBuildFile; fileRef = 468EF6B5207FEDA40007D0DF /* subsequences.so */; };
38+
5343B39F208FB1F100AD5D72 /* ProcessingConfigurationModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5343B39E208FB1F100AD5D72 /* ProcessingConfigurationModel.swift */; };
39+
5343B3A8208FC4AC00AD5D72 /* PauseBot.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5343B3A7208FC4AC00AD5D72 /* PauseBot.swift */; };
3840
539110FF2089246800960308 /* CheckRedisServerScript.sh in Resources */ = {isa = PBXBuildFile; fileRef = 539110F72089246800960308 /* CheckRedisServerScript.sh */; };
3941
CA727CD42050A3580051A01B /* README.md in Resources */ = {isa = PBXBuildFile; fileRef = CA727CD32050A3580051A01B /* README.md */; };
4042
CAA6C98320642A2D00EE8DF1 /* KnownProtocols.swift in Sources */ = {isa = PBXBuildFile; fileRef = CAA6C97A20642A2D00EE8DF1 /* KnownProtocols.swift */; };
@@ -161,6 +163,8 @@
161163
468B26232023B609000A2B5D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
162164
468B26512023D016000A2B5D /* ObservedConnections.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ObservedConnections.swift; sourceTree = "<group>"; };
163165
468EF6B5207FEDA40007D0DF /* subsequences.so */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.bundle"; path = subsequences.so; sourceTree = "<group>"; };
166+
5343B39E208FB1F100AD5D72 /* ProcessingConfigurationModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ProcessingConfigurationModel.swift; sourceTree = "<group>"; };
167+
5343B3A7208FC4AC00AD5D72 /* PauseBot.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = PauseBot.swift; path = AdversaryLabSwift/Models/PauseBot.swift; sourceTree = SOURCE_ROOT; };
164168
539110F72089246800960308 /* CheckRedisServerScript.sh */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; path = CheckRedisServerScript.sh; sourceTree = "<group>"; };
165169
CA727CD32050A3580051A01B /* README.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = "<group>"; };
166170
CAA6C97A20642A2D00EE8DF1 /* KnownProtocols.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = KnownProtocols.swift; sourceTree = "<group>"; };
@@ -301,7 +305,9 @@
301305
468B26502023CFF8000A2B5D /* Models */ = {
302306
isa = PBXGroup;
303307
children = (
308+
5343B3A7208FC4AC00AD5D72 /* PauseBot.swift */,
304309
468B26512023D016000A2B5D /* ObservedConnections.swift */,
310+
5343B39E208FB1F100AD5D72 /* ProcessingConfigurationModel.swift */,
305311
);
306312
path = Models;
307313
sourceTree = "<group>";
@@ -525,8 +531,10 @@
525531
CAA6C98320642A2D00EE8DF1 /* KnownProtocols.swift in Sources */,
526532
46175B6920253F86009311D6 /* FakeConnectionGenerator.swift in Sources */,
527533
468B26522023D016000A2B5D /* ObservedConnections.swift in Sources */,
534+
5343B39F208FB1F100AD5D72 /* ProcessingConfigurationModel.swift in Sources */,
528535
462271F72049021A00F21D08 /* DataHelper.swift in Sources */,
529536
4651A15120083BF700037D31 /* AppDelegate.swift in Sources */,
537+
5343B3A8208FC4AC00AD5D72 /* PauseBot.swift in Sources */,
530538
CAA6C98420642A2D00EE8DF1 /* TLS12.swift in Sources */,
531539
46175B7C202D46AF009311D6 /* Sequences.swift in Sources */,
532540
467E493A2017F166008B19E3 /* Constants.swift in Sources */,

AdversaryLabSwift.xcodeproj/xcuserdata/adelita.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,38 @@
22
<Bucket
33
type = "1"
44
version = "2.0">
5+
<Breakpoints>
6+
<BreakpointProxy
7+
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
8+
<BreakpointContent
9+
shouldBeEnabled = "No"
10+
ignoreCount = "0"
11+
continueAfterRunningActions = "No"
12+
filePath = "AdversaryLabSwift/Controllers/ConnectionInspector.swift"
13+
timestampString = "546296595.515815"
14+
startingColumnNumber = "9223372036854775807"
15+
endingColumnNumber = "9223372036854775807"
16+
startingLineNumber = "81"
17+
endingLineNumber = "81"
18+
landmarkName = "analyzeConnections(configModel:)"
19+
landmarkType = "7">
20+
</BreakpointContent>
21+
</BreakpointProxy>
22+
<BreakpointProxy
23+
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
24+
<BreakpointContent
25+
shouldBeEnabled = "No"
26+
ignoreCount = "0"
27+
continueAfterRunningActions = "No"
28+
filePath = "AdversaryLabSwift/ViewController.swift"
29+
timestampString = "546296595.515866"
30+
startingColumnNumber = "9223372036854775807"
31+
endingColumnNumber = "9223372036854775807"
32+
startingLineNumber = "121"
33+
endingLineNumber = "121"
34+
landmarkName = "runClick(_:)"
35+
landmarkType = "7">
36+
</BreakpointContent>
37+
</BreakpointProxy>
38+
</Breakpoints>
539
</Bucket>

AdversaryLabSwift/Base.lproj/Main.storyboard

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -809,14 +809,20 @@
809809
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
810810
<font key="font" metaFont="system"/>
811811
</buttonCell>
812+
<connections>
813+
<action selector="enableSequenceAnalysisClicked:" target="XfG-lQ-9wD" id="zIU-Lr-Oor"/>
814+
</connections>
812815
</button>
813-
<button verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="l29-wR-vQY">
816+
<button hidden="YES" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="l29-wR-vQY">
814817
<rect key="frame" x="429" y="50" width="209" height="18"/>
815818
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
816819
<buttonCell key="cell" type="check" title="Remove Packets After Analysis" bezelStyle="regularSquare" imagePosition="left" inset="2" id="oLi-vs-yls">
817820
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
818821
<font key="font" metaFont="system"/>
819822
</buttonCell>
823+
<connections>
824+
<action selector="removePacketsClicked:" target="XfG-lQ-9wD" id="0HC-mX-IVK"/>
825+
</connections>
820826
</button>
821827
<button verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="qWY-FO-Xfj">
822828
<rect key="frame" x="429" y="8" width="144" height="18"/>
@@ -825,6 +831,9 @@
825831
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
826832
<font key="font" metaFont="system"/>
827833
</buttonCell>
834+
<connections>
835+
<action selector="enableTLSAnslysisClicked:" target="XfG-lQ-9wD" id="lvP-wz-OBV"/>
836+
</connections>
828837
</button>
829838
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="jR8-1j-flg">
830839
<rect key="frame" x="420" y="70" width="132" height="19"/>
@@ -1369,14 +1378,14 @@
13691378
<rect key="frame" x="648" y="13" width="140" height="32"/>
13701379
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
13711380
<buttonCell key="cell" type="push" title="Process Packets" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="guU-24-ESe">
1372-
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
1381+
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES" changeBackground="YES" changeGray="YES"/>
13731382
<font key="font" metaFont="system"/>
13741383
</buttonCell>
13751384
<connections>
13761385
<action selector="runClick:" target="XfG-lQ-9wD" id="eZM-It-fdq"/>
13771386
</connections>
13781387
</button>
1379-
<button verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="DZy-kb-ZFq">
1388+
<button hidden="YES" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="DZy-kb-ZFq">
13801389
<rect key="frame" x="14" y="13" width="135" height="32"/>
13811390
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
13821391
<buttonCell key="cell" type="push" title="Stream Packets" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="0Hf-4f-Xfq">
@@ -2930,6 +2939,7 @@
29302939
<connections>
29312940
<outlet property="enableSequencesCheck" destination="ygH-l3-SnY" id="xVv-jo-Ld1"/>
29322941
<outlet property="enableTLSCheck" destination="qWY-FO-Xfj" id="lsC-YF-YZ5"/>
2942+
<outlet property="processPacketsButton" destination="PUo-Tn-R9n" id="3MA-Oc-mj9"/>
29332943
<outlet property="removePacketsCheck" destination="l29-wR-vQY" id="tZw-T4-v0X"/>
29342944
</connections>
29352945
</viewController>

0 commit comments

Comments
 (0)