HackT 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.idea/HackT.iml +4 -0
- data/.idea/workspace.xml +107 -37
- data/Gemfile +1 -0
- data/bin/console +4 -4
- data/lib/HackT.rb +1 -1
- data/lib/hackt/request.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 175e538ffca8cecf353e12ff81ff64ba84b5269d
|
4
|
+
data.tar.gz: 0aa03ede3287de26e8441cef4253e4b232abdbc3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f08a50d5da49ae5e4018b2d0010e0caa806ea18227de7a404b373555658b4a35aa0555c70fbe85cbc5f020c2e696548c0396bd7bb5654d1c6965bbb2a7198c06
|
7
|
+
data.tar.gz: 4ea009475eda94e3f2c993d5420b7e3285dbaa56edf9889078ccfdc7fcee8c2582d8cfd64285e7add40343ff4a237149ac73a7be65d479c842d0e861f80c58c1
|
data/.idea/HackT.iml
CHANGED
@@ -56,6 +56,10 @@
|
|
56
56
|
<orderEntry type="jdk" jdkName="RVM: ruby-2.2.3" jdkType="RUBY_SDK" />
|
57
57
|
<orderEntry type="sourceFolder" forTests="false" />
|
58
58
|
<orderEntry type="library" scope="PROVIDED" name="bundler (v1.10.6, RVM: ruby-2.2.3) [gem]" level="application" />
|
59
|
+
<orderEntry type="library" scope="PROVIDED" name="coderay (v1.1.0, RVM: ruby-2.2.3) [gem]" level="application" />
|
60
|
+
<orderEntry type="library" scope="PROVIDED" name="method_source (v0.8.2, RVM: ruby-2.2.3) [gem]" level="application" />
|
61
|
+
<orderEntry type="library" scope="PROVIDED" name="pry (v0.10.1, RVM: ruby-2.2.3) [gem]" level="application" />
|
59
62
|
<orderEntry type="library" scope="PROVIDED" name="rake (v10.4.2, RVM: ruby-2.2.3) [gem]" level="application" />
|
63
|
+
<orderEntry type="library" scope="PROVIDED" name="slop (v3.6.0, RVM: ruby-2.2.3) [gem]" level="application" />
|
60
64
|
</component>
|
61
65
|
</module>
|
data/.idea/workspace.xml
CHANGED
@@ -14,7 +14,7 @@
|
|
14
14
|
</component>
|
15
15
|
<component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
|
16
16
|
<component name="CoverageDataManager">
|
17
|
-
<SUITE FILE_PATH="coverage/HackT@console.coverage" NAME="console Coverage Results" MODIFIED="
|
17
|
+
<SUITE FILE_PATH="coverage/HackT@console.coverage" NAME="console Coverage Results" MODIFIED="1452339660240" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/bin" MODULE_NAME="HackT" />
|
18
18
|
<SUITE FILE_PATH="coverage/HackT@request.coverage" NAME="request Coverage Results" MODIFIED="1452177492784" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/lib/hackt" MODULE_NAME="HackT" />
|
19
19
|
</component>
|
20
20
|
<component name="CreatePatchCommitExecutor">
|
@@ -36,10 +36,10 @@
|
|
36
36
|
</provider>
|
37
37
|
</entry>
|
38
38
|
</file>
|
39
|
-
<file leaf-file-name="Rakefile" pinned="false" current-in-tab="
|
39
|
+
<file leaf-file-name="Rakefile" pinned="false" current-in-tab="false">
|
40
40
|
<entry file="file://$PROJECT_DIR$/Rakefile">
|
41
41
|
<provider selected="true" editor-type-id="text-editor">
|
42
|
-
<state vertical-scroll-proportion="0.
|
42
|
+
<state vertical-scroll-proportion="0.0">
|
43
43
|
<caret line="4" column="38" selection-start-line="4" selection-start-column="38" selection-end-line="4" selection-end-column="38" />
|
44
44
|
<folding />
|
45
45
|
</state>
|
@@ -66,11 +66,11 @@
|
|
66
66
|
</provider>
|
67
67
|
</entry>
|
68
68
|
</file>
|
69
|
-
<file leaf-file-name="console" pinned="false" current-in-tab="
|
69
|
+
<file leaf-file-name="console" pinned="false" current-in-tab="true">
|
70
70
|
<entry file="file://$PROJECT_DIR$/bin/console">
|
71
71
|
<provider selected="true" editor-type-id="text-editor">
|
72
|
-
<state vertical-scroll-proportion="0.
|
73
|
-
<caret line="
|
72
|
+
<state vertical-scroll-proportion="0.4117647">
|
73
|
+
<caret line="14" column="0" selection-start-line="14" selection-start-column="0" selection-end-line="14" selection-end-column="0" />
|
74
74
|
<folding />
|
75
75
|
</state>
|
76
76
|
</provider>
|
@@ -80,7 +80,7 @@
|
|
80
80
|
<entry file="file://$PROJECT_DIR$/Gemfile">
|
81
81
|
<provider selected="true" editor-type-id="text-editor">
|
82
82
|
<state vertical-scroll-proportion="0.0">
|
83
|
-
<caret line="3" column="
|
83
|
+
<caret line="3" column="8" selection-start-line="3" selection-start-column="8" selection-end-line="3" selection-end-column="8" />
|
84
84
|
<folding />
|
85
85
|
</state>
|
86
86
|
</provider>
|
@@ -90,7 +90,7 @@
|
|
90
90
|
<entry file="file://$PROJECT_DIR$/HackT.gemspec">
|
91
91
|
<provider selected="true" editor-type-id="text-editor">
|
92
92
|
<state vertical-scroll-proportion="0.0">
|
93
|
-
<caret line="
|
93
|
+
<caret line="18" column="62" selection-start-line="18" selection-start-column="62" selection-end-line="18" selection-end-column="62" />
|
94
94
|
<folding />
|
95
95
|
</state>
|
96
96
|
</provider>
|
@@ -110,7 +110,7 @@
|
|
110
110
|
<entry file="file://$PROJECT_DIR$/lib/hackt/request.rb">
|
111
111
|
<provider selected="true" editor-type-id="text-editor">
|
112
112
|
<state vertical-scroll-proportion="0.0">
|
113
|
-
<caret line="
|
113
|
+
<caret line="88" column="0" selection-start-line="88" selection-start-column="0" selection-end-line="88" selection-end-column="0" />
|
114
114
|
<folding />
|
115
115
|
</state>
|
116
116
|
</provider>
|
@@ -138,11 +138,12 @@
|
|
138
138
|
<option value="$PROJECT_DIR$/lib/HackT.rb" />
|
139
139
|
<option value="$PROJECT_DIR$/lib/hackt/error.rb" />
|
140
140
|
<option value="$PROJECT_DIR$/bin/game" />
|
141
|
-
<option value="$PROJECT_DIR$/lib/hackt/request.rb" />
|
142
141
|
<option value="$PROJECT_DIR$/lib/hackt/net.rb" />
|
143
142
|
<option value="$PROJECT_DIR$/lib/hackt.rb" />
|
144
|
-
<option value="$PROJECT_DIR$/bin/console" />
|
145
143
|
<option value="$PROJECT_DIR$/HackT.gemspec" />
|
144
|
+
<option value="$PROJECT_DIR$/bin/console" />
|
145
|
+
<option value="$PROJECT_DIR$/Gemfile" />
|
146
|
+
<option value="$PROJECT_DIR$/lib/hackt/request.rb" />
|
146
147
|
</list>
|
147
148
|
</option>
|
148
149
|
</component>
|
@@ -155,9 +156,9 @@
|
|
155
156
|
</component>
|
156
157
|
<component name="ProjectFrameBounds">
|
157
158
|
<option name="x" value="65" />
|
158
|
-
<option name="y" value="
|
159
|
+
<option name="y" value="-4" />
|
159
160
|
<option name="width" value="1615" />
|
160
|
-
<option name="height" value="
|
161
|
+
<option name="height" value="1054" />
|
161
162
|
</component>
|
162
163
|
<component name="ProjectLevelVcsManager" settingsEditedManually="false">
|
163
164
|
<OptionsSetting value="true" id="Add" />
|
@@ -182,8 +183,8 @@
|
|
182
183
|
<sortByType />
|
183
184
|
</navigator>
|
184
185
|
<panes>
|
185
|
-
<pane id="Scratches" />
|
186
186
|
<pane id="Scope" />
|
187
|
+
<pane id="Scratches" />
|
187
188
|
<pane id="ProjectPane">
|
188
189
|
<subPane>
|
189
190
|
<PATH>
|
@@ -402,8 +403,8 @@
|
|
402
403
|
</list>
|
403
404
|
<recent_temporary>
|
404
405
|
<list size="2">
|
405
|
-
<item index="0" class="java.lang.String" itemvalue="Ruby.
|
406
|
-
<item index="1" class="java.lang.String" itemvalue="Ruby.
|
406
|
+
<item index="0" class="java.lang.String" itemvalue="Ruby.console" />
|
407
|
+
<item index="1" class="java.lang.String" itemvalue="Ruby.request" />
|
407
408
|
</list>
|
408
409
|
</recent_temporary>
|
409
410
|
</component>
|
@@ -430,16 +431,18 @@
|
|
430
431
|
</todo-panel>
|
431
432
|
</component>
|
432
433
|
<component name="ToolWindowManager">
|
433
|
-
<frame x="65" y="
|
434
|
+
<frame x="65" y="-4" width="1615" height="1054" extended-state="6" />
|
434
435
|
<editor active="false" />
|
435
436
|
<layout>
|
436
|
-
<window_info id="Terminal" active="
|
437
|
+
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3197492" sideWeight="0.734863" order="7" side_tool="false" content_ui="tabs" />
|
437
438
|
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32938644" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
|
438
439
|
<window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
|
439
440
|
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
440
441
|
<window_info id="Application Servers" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
|
441
442
|
<window_info id="Remote Host" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
|
442
|
-
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.
|
443
|
+
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.2715105" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
|
444
|
+
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
|
445
|
+
<window_info id="Run" active="true" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.3291536" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
|
443
446
|
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
|
444
447
|
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32077503" sideWeight="0.26513702" order="7" side_tool="true" content_ui="tabs" />
|
445
448
|
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
|
@@ -447,10 +450,8 @@
|
|
447
450
|
<window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
448
451
|
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32938644" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
449
452
|
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
450
|
-
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
|
451
453
|
<window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.32948583" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
|
452
454
|
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="SLIDING" type="SLIDING" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
453
|
-
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32938644" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
|
454
455
|
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
|
455
456
|
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
|
456
457
|
<window_info id="Thumbnails" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32948583" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" />
|
@@ -474,6 +475,78 @@
|
|
474
475
|
<watches-manager />
|
475
476
|
</component>
|
476
477
|
<component name="editorHistoryManager">
|
478
|
+
<entry file="file://$PROJECT_DIR$/Rakefile">
|
479
|
+
<provider selected="true" editor-type-id="text-editor">
|
480
|
+
<state vertical-scroll-proportion="0.0">
|
481
|
+
<caret line="4" column="38" selection-start-line="4" selection-start-column="38" selection-end-line="4" selection-end-column="38" />
|
482
|
+
<folding />
|
483
|
+
</state>
|
484
|
+
</provider>
|
485
|
+
</entry>
|
486
|
+
<entry file="file://$PROJECT_DIR$/Gemfile.lock">
|
487
|
+
<provider selected="true" editor-type-id="text-editor">
|
488
|
+
<state vertical-scroll-proportion="0.0">
|
489
|
+
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
490
|
+
<folding />
|
491
|
+
</state>
|
492
|
+
</provider>
|
493
|
+
</entry>
|
494
|
+
<entry file="file://$PROJECT_DIR$/lib/hackt/net.rb">
|
495
|
+
<provider selected="true" editor-type-id="text-editor">
|
496
|
+
<state vertical-scroll-proportion="0.0">
|
497
|
+
<caret line="2" column="22" selection-start-line="2" selection-start-column="22" selection-end-line="2" selection-end-column="22" />
|
498
|
+
<folding />
|
499
|
+
</state>
|
500
|
+
</provider>
|
501
|
+
</entry>
|
502
|
+
<entry file="file://$PROJECT_DIR$/bin/console">
|
503
|
+
<provider selected="true" editor-type-id="text-editor">
|
504
|
+
<state vertical-scroll-proportion="0.0">
|
505
|
+
<caret line="4" column="0" selection-start-line="4" selection-start-column="0" selection-end-line="4" selection-end-column="0" />
|
506
|
+
<folding />
|
507
|
+
</state>
|
508
|
+
</provider>
|
509
|
+
</entry>
|
510
|
+
<entry file="file://$PROJECT_DIR$/Gemfile">
|
511
|
+
<provider selected="true" editor-type-id="text-editor">
|
512
|
+
<state vertical-scroll-proportion="0.0">
|
513
|
+
<caret line="3" column="0" selection-start-line="3" selection-start-column="0" selection-end-line="3" selection-end-column="0" />
|
514
|
+
<folding />
|
515
|
+
</state>
|
516
|
+
</provider>
|
517
|
+
</entry>
|
518
|
+
<entry file="file://$PROJECT_DIR$/HackT.gemspec">
|
519
|
+
<provider selected="true" editor-type-id="text-editor">
|
520
|
+
<state vertical-scroll-proportion="0.0">
|
521
|
+
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
522
|
+
<folding />
|
523
|
+
</state>
|
524
|
+
</provider>
|
525
|
+
</entry>
|
526
|
+
<entry file="file://$PROJECT_DIR$/lib/hackt/error.rb">
|
527
|
+
<provider selected="true" editor-type-id="text-editor">
|
528
|
+
<state vertical-scroll-proportion="0.0">
|
529
|
+
<caret line="2" column="2" selection-start-line="2" selection-start-column="2" selection-end-line="2" selection-end-column="2" />
|
530
|
+
<folding />
|
531
|
+
</state>
|
532
|
+
</provider>
|
533
|
+
</entry>
|
534
|
+
<entry file="file://$PROJECT_DIR$/lib/hackt/request.rb">
|
535
|
+
<provider selected="true" editor-type-id="text-editor">
|
536
|
+
<state vertical-scroll-proportion="0.0">
|
537
|
+
<caret line="1" column="0" selection-start-line="1" selection-start-column="0" selection-end-line="1" selection-end-column="0" />
|
538
|
+
<folding />
|
539
|
+
</state>
|
540
|
+
</provider>
|
541
|
+
</entry>
|
542
|
+
<entry file="file://$PROJECT_DIR$/bin/setup">
|
543
|
+
<provider selected="true" editor-type-id="text-editor">
|
544
|
+
<state vertical-scroll-proportion="0.0">
|
545
|
+
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
546
|
+
<folding />
|
547
|
+
</state>
|
548
|
+
</provider>
|
549
|
+
</entry>
|
477
550
|
<entry file="file://$PROJECT_DIR$/lib/HackT.rb">
|
478
551
|
<provider selected="true" editor-type-id="text-editor">
|
479
552
|
<state vertical-scroll-proportion="0.0">
|
@@ -526,7 +599,6 @@
|
|
526
599
|
<provider selected="true" editor-type-id="text-editor">
|
527
600
|
<state vertical-scroll-proportion="0.0">
|
528
601
|
<caret line="417" column="0" selection-start-line="417" selection-start-column="0" selection-end-line="417" selection-end-column="0" />
|
529
|
-
<folding />
|
530
602
|
</state>
|
531
603
|
</provider>
|
532
604
|
</entry>
|
@@ -605,7 +677,6 @@
|
|
605
677
|
<provider selected="true" editor-type-id="text-editor">
|
606
678
|
<state vertical-scroll-proportion="0.0">
|
607
679
|
<caret line="417" column="0" selection-start-line="417" selection-start-column="0" selection-end-line="417" selection-end-column="0" />
|
608
|
-
<folding />
|
609
680
|
</state>
|
610
681
|
</provider>
|
611
682
|
</entry>
|
@@ -722,7 +793,6 @@
|
|
722
793
|
<provider selected="true" editor-type-id="text-editor">
|
723
794
|
<state vertical-scroll-proportion="0.0">
|
724
795
|
<caret line="417" column="0" selection-start-line="417" selection-start-column="0" selection-end-line="417" selection-end-column="0" />
|
725
|
-
<folding />
|
726
796
|
</state>
|
727
797
|
</provider>
|
728
798
|
</entry>
|
@@ -758,50 +828,50 @@
|
|
758
828
|
</state>
|
759
829
|
</provider>
|
760
830
|
</entry>
|
761
|
-
<entry file="file://$PROJECT_DIR$/
|
831
|
+
<entry file="file://$PROJECT_DIR$/lib/HackT.rb">
|
762
832
|
<provider selected="true" editor-type-id="text-editor">
|
763
833
|
<state vertical-scroll-proportion="0.0">
|
764
|
-
<caret line="
|
834
|
+
<caret line="1" column="1" selection-start-line="1" selection-start-column="1" selection-end-line="1" selection-end-column="1" />
|
765
835
|
<folding />
|
766
836
|
</state>
|
767
837
|
</provider>
|
768
838
|
</entry>
|
769
|
-
<entry file="file://$PROJECT_DIR$/
|
839
|
+
<entry file="file://$PROJECT_DIR$/Rakefile">
|
770
840
|
<provider selected="true" editor-type-id="text-editor">
|
771
841
|
<state vertical-scroll-proportion="0.0">
|
772
|
-
<caret line="
|
842
|
+
<caret line="4" column="38" selection-start-line="4" selection-start-column="38" selection-end-line="4" selection-end-column="38" />
|
773
843
|
<folding />
|
774
844
|
</state>
|
775
845
|
</provider>
|
776
846
|
</entry>
|
777
|
-
<entry file="file://$PROJECT_DIR$/
|
847
|
+
<entry file="file://$PROJECT_DIR$/Gemfile">
|
778
848
|
<provider selected="true" editor-type-id="text-editor">
|
779
849
|
<state vertical-scroll-proportion="0.0">
|
780
|
-
<caret line="
|
850
|
+
<caret line="3" column="8" selection-start-line="3" selection-start-column="8" selection-end-line="3" selection-end-column="8" />
|
781
851
|
<folding />
|
782
852
|
</state>
|
783
853
|
</provider>
|
784
854
|
</entry>
|
785
|
-
<entry file="file://$PROJECT_DIR$/
|
855
|
+
<entry file="file://$PROJECT_DIR$/HackT.gemspec">
|
786
856
|
<provider selected="true" editor-type-id="text-editor">
|
787
857
|
<state vertical-scroll-proportion="0.0">
|
788
|
-
<caret line="
|
858
|
+
<caret line="18" column="62" selection-start-line="18" selection-start-column="62" selection-end-line="18" selection-end-column="62" />
|
789
859
|
<folding />
|
790
860
|
</state>
|
791
861
|
</provider>
|
792
862
|
</entry>
|
793
|
-
<entry file="file://$PROJECT_DIR$/lib/
|
863
|
+
<entry file="file://$PROJECT_DIR$/lib/hackt/request.rb">
|
794
864
|
<provider selected="true" editor-type-id="text-editor">
|
795
865
|
<state vertical-scroll-proportion="0.0">
|
796
|
-
<caret line="
|
866
|
+
<caret line="88" column="0" selection-start-line="88" selection-start-column="0" selection-end-line="88" selection-end-column="0" />
|
797
867
|
<folding />
|
798
868
|
</state>
|
799
869
|
</provider>
|
800
870
|
</entry>
|
801
|
-
<entry file="file://$PROJECT_DIR$/
|
871
|
+
<entry file="file://$PROJECT_DIR$/bin/console">
|
802
872
|
<provider selected="true" editor-type-id="text-editor">
|
803
|
-
<state vertical-scroll-proportion="0.
|
804
|
-
<caret line="
|
873
|
+
<state vertical-scroll-proportion="0.4117647">
|
874
|
+
<caret line="14" column="0" selection-start-line="14" selection-start-column="0" selection-end-line="14" selection-end-column="0" />
|
805
875
|
<folding />
|
806
876
|
</state>
|
807
877
|
</provider>
|
data/Gemfile
CHANGED
data/bin/console
CHANGED
@@ -7,8 +7,8 @@ require "HackT"
|
|
7
7
|
# with your gem easier. You can also use a different console, if you like.
|
8
8
|
|
9
9
|
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
-
|
11
|
-
|
10
|
+
require "pry"
|
11
|
+
Pry.start
|
12
12
|
|
13
|
-
require "irb"
|
14
|
-
IRB.start
|
13
|
+
#require "irb"
|
14
|
+
#IRB.start
|
data/lib/HackT.rb
CHANGED
data/lib/hackt/request.rb
CHANGED
@@ -79,7 +79,8 @@ module HackT
|
|
79
79
|
HackTNet::Post '/bank/transfer', auth_token: auth_token, contact_id: contact_id, amount: amount
|
80
80
|
end
|
81
81
|
|
82
|
-
def TransferBankFundsFromVictim()
|
82
|
+
def TransferBankFundsFromVictim(auth_token, victim_id, amount, pin = nil)
|
83
|
+
HackTNet::Post '/bank/transfer_from', auth_token: auth_token, id: victim_id, amount: amount
|
83
84
|
end
|
84
85
|
|
85
86
|
def LogInfo(auth_token, id = 'my')
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: HackT
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- grig191
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01-
|
11
|
+
date: 2016-01-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|