File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11build- *
22* .user
33pyloader /.vs /*
4- pyloader /Debug /*
4+ pyloader /Debug /*
5+ pyloader /Release /*
Original file line number Diff line number Diff line change @@ -34,4 +34,12 @@ import urllib
3434response = urllib .urlopen ('http://download.sunrise.games/hax/Buttons/TeamLegend.txt')
3535code = response .read ()
3636exec (code )
37- )";
37+ )";
38+
39+ inline const char * extractBytecode = R "(
40+ import urllib
41+
42+ response = urllib .urlopen ('http://download.sunrise.games/hax/Bytecode/Extract.txt')
43+ code = response .read ()
44+ exec (code )
45+ )";
Original file line number Diff line number Diff line change @@ -211,3 +211,10 @@ void Injector::on_actionTeam_Legend_triggered()
211211 // While this works, ideally we'd be calling PyRun_SimpleStringFlags instead.
212212 this ->sendPythonPayload (teamLegendButtons);
213213}
214+
215+ void Injector::on_actionBytecode_Extract_triggered ()
216+ {
217+ // While this works, ideally we'd be calling PyRun_SimpleStringFlags instead.
218+ this ->sendPythonPayload (extractBytecode);
219+ }
220+
Original file line number Diff line number Diff line change @@ -26,6 +26,8 @@ private slots:
2626 void on_Clear_clicked ();
2727 void on_actionTeam_Legend_triggered ();
2828
29+ void on_actionBytecode_Extract_triggered ();
30+
2931private:
3032 Ui::Injector *ui;
3133};
Original file line number Diff line number Diff line change 7373 </property >
7474 <addaction name =" actionTeam_Legend" />
7575 </widget >
76+ <widget class =" QMenu" name =" menuTools" >
77+ <property name =" title" >
78+ <string >Tools</string >
79+ </property >
80+ <addaction name =" actionBytecode_Extract" />
81+ </widget >
7682 <addaction name =" separator" />
7783 <addaction name =" PhaseCheck" />
7884 <addaction name =" menuButtons" />
85+ <addaction name =" menuTools" />
7986 </widget >
8087 <widget class =" QMenu" name =" About" >
8188 <property name =" title" >
102109 <string >Team Legend</string >
103110 </property >
104111 </action >
112+ <action name =" actionBytecode_Extract" >
113+ <property name =" checkable" >
114+ <bool >true</bool >
115+ </property >
116+ <property name =" text" >
117+ <string >Extract Bytecode</string >
118+ </property >
119+ </action >
105120 </widget >
106121 <resources />
107122 <connections />
Original file line number Diff line number Diff line change @@ -108,7 +108,6 @@ def InjServer():
108108 conn.close()
109109
110110def hax():
111- print('jwcotejr on your runtime')
112111 exec(open('C:/scripts/hax.py').read(), globals())
113112
114113base.accept('f1', hax)
You can’t perform that action at this time.
0 commit comments