-
Notifications
You must be signed in to change notification settings - Fork 1
/
.bash_history
2001 lines (1997 loc) · 80.2 KB
/
.bash_history
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
echo $$MARKET_IP
echo $MARKET_IP
MARKET_IP=88.214.193.185
echo $( grep -rE 'Le_Alt|Le_Domain' $ACME_PATH/*/*.conf | sed 's/.*=//' ) | sed "s/' '/,/g;s/'//g;s/,/\n/g" | xargs -L1 -I'{}' bash -c "echo -n {}' ' ; echo \$( dig +short {} ) ; echo " | grep $MARKET_IP | sort | uniq | awk '{ print $1 }' | tr 'A-Z' 'a-z' | xargs -L1
mc
cd ~marketplace/logs/actions/
crontab -l -u marketplace
crontab -l
crontab -l -u marketplace
date
find /home/marketplace -name portals.php
ls -la /home/marketplace/public_html/client/marketplace-portals/public/portals.php
top
crontab -l -u marketplace
ls -la public_html/client/marketplace-portals/application/tasks/run-task.php
ls
cd
cd /home/marketplace
ls -la public_html/client/marketplace-portals/application/tasks/run-task.php
crontab -l -u marketplace
date
crontab -l -u marketplace
date
mc
sudo -s -u marketplace -H
crontab -l
cat /usr/local/bin/checkmarketssl.sh
REDIR_SSL_PATH=/home/marketplace2/public_html/client/marketplace-portals/public/redirssl
ACME_PATH=/root/.acme.sh
ACME_PATH_TRASH=/root/.acme.sh.trash
mkdir -p $ACME_PATH_TRASH
MARKET_IP=$1
[ -z "$MARKET_IP" ] && MARKET_IP=88.214.193.185
echo $MARKET_IP
grep $REDIR_SSL_PATH /usr/local/bin/checkmarketssl.sh
grep REDIR_SSL_PATH /usr/local/bin/checkmarketssl.sh
echo $( grep -rE 'Le_Alt|Le_Domain' $ACME_PATH/*/*.conf | sed 's/.*=//' ) | sed "s/' '/,/g;s/'//g;s/,/\n/g" | xargs -L1 -I'{}' bash -c "echo -n {}' ' ; echo \$( dig +short {} ) ; echo " | grep $MARKET_IP | sort | uniq | awk '{ print $1 }' | tr 'A-Z' 'a-z' | xargs -L1 -I'{}'
grep -rE 'Le_Alt|Le_Domain' $ACME_PATH/*/*.conf
ls -la /home/marketplace2/public_html/client/marketplace-portals/public/redirssl
date
grep -rE 'Le_Alt|Le_Domain' $ACME_PATH/*/*.conf
dig www.chimox.com
mc
crontab -l
cat /usr/local/bin/checkmarketssl.sh
REDIR_SSL_PATH=/home/marketplace2/public_html/client/marketplace-portals/public/redirssl
ACME_PATH=/root/.acme.sh
ACME_PATH_TRASH=/root/.acme.sh.trash
mkdir -p $ACME_PATH_TRASH
MARKET_IP=$1
[ -z "$MARKET_IP" ] && MARKET_IP=88.214.193.185
echo $MARKET_IP
echo $( grep -rE 'Le_Alt|Le_Domain' $ACME_PATH/*/*.conf | sed 's/.*=//' ) | sed "s/' '/,/g;s/'//g;s/,/\n/g" | xargs -L1 -I'{}' bash -c "echo -n {}' ' ; echo \$( dig +short {} ) ; echo " | grep $MARKET_IP | sort | uniq | awk '{ print $1 }' | tr 'A-Z' 'a-z' | xargs
echo $( grep -rE 'Le_Alt|Le_Domain' $ACME_PATH/*/*.conf | sed 's/.*=//' ) | sed "s/' '/,/g;s/'//g;s/,/\n/g" | xargs -L1 -I'{}' bash -c "echo -n {}' ' ; echo \$( dig +short {} ) ; echo "
echo $( grep -rE 'Le_Alt|Le_Domain' $ACME_PATH/*/*.conf | sed 's/.*=//' ) | sed "s/' '/,/g;s/'//g;s/,/\n/g" | xargs -L1 -I'{}' bash -c "echo -n {}' ' "
echo $( grep -rE 'Le_Alt|Le_Domain' $ACME_PATH/*/*.conf | sed 's/.*=//' ) | sed "s/' '/,/g;s/'//g;s/,/\n/g" | xargs -L1 -I'{}' bash -c "echo -n {}' ' "
echo $( grep -rE 'Le_Alt|Le_Domain' $ACME_PATH/*/*.conf | sed 's/.*=//' ) | sed "s/' '/,/g;s/'//g;s/,/\n/g" | xargs -L1 -I'{}' bash -c "echo -n {}' ' ; echo \$( dig +short {} ) ; echo "
cat /usr/local/bin/checkmarketssl.sh
mkdir -p $REDIR_SSL_PATH ; echo $( grep -rE 'Le_Alt|Le_Domain' $ACME_PATH/*/*.conf | sed 's/.*=//' ) | sed "s/' '/,/g;s/'//g;s/,/\n/g" | xargs -L1 -I'{}' bash -c "echo -n {}' ' ; echo \$( dig +short {} ) ; echo " | grep $MARKET_IP | sort | uniq | awk '{ print $1 }' | tr 'A-Z' 'a-z' | xargs -L1 -I'{}'
mkdir -p $REDIR_SSL_PATH ; echo $( grep -rE 'Le_Alt|Le_Domain' $ACME_PATH/*/*.conf | sed 's/.*=//' ) | sed "s/' '/,/g;s/'//g;s/,/\n/g" | xargs -L1 -I'{}' bash -c "echo -n {}' ' ; echo \$( dig +short {} ) ; echo " | grep $MARKET_IP | sort | uniq | awk '{ print $1 }' | tr 'A-Z' 'a-z' | xargs -L1
cat /usr/local/bin/checkmarketssl.sh
echo $( grep -rE 'Le_Alt|Le_Domain' $ACME_PATH/*/*.conf | sed 's/.*=//' ) | sed "s/' '/,/g;s/'//g;s/,/\n/g" | xargs -L1 -I'{}' bash -c "echo -n {}' ' ; echo \$( dig +short {} ) ; echo " | grep $MARKET_IP | sort | uniq | awk '{ print $1 }' | tr 'A-Z' 'a-z' | xargs -L1 -I'{}' echo "touch $REDIR_SSL_PATH/'{}'"
echo $( grep -rE 'Le_Alt|Le_Domain' $ACME_PATH/*/*.conf | sed 's/.*=//' ) | sed "s/' '/,/g;s/'//g;s/,/\n/g" | xargs -L1 -I'{}' bash -c "echo -n {}' ' ; echo \$( dig +short {} ) ; echo " | grep $MARKET_IP | sort | uniq | awk '{ print $1 }' | tr 'A-Z' 'a-z' | xargs -L1 -I'{}' echo "[ -f '' ] touch $REDIR_SSL_PATH/{}"
grep -rE 'Le_Alt|Le_Domain' $ACME_PATH/*/*.conf
cat /usr/local/bin/checkmarketssl.sh
echo $( grep -rE 'Le_Alt|Le_Domain' $ACME_PATH/*/*.conf | sed 's/.*=//' ) | sed "s/' '/,/g;s/'//g;s/,/\n/g" | xargs -L1 -I'{}' bash -c "echo -n {}' ' ; echo \$( dig +short {} ) ; echo "
cat /usr/local/bin/checkmarketssl.sh
echo $( grep -rE 'Le_Alt|Le_Domain' $ACME_PATH/*/*.conf | sed 's/.*=//' ) | sed "s/' '/,/g;s/'//g;s/,/\n/g" | xargs -L1 -I'{}' bash -c "echo -n {}' ' "
echo $( grep -rE 'Le_Alt|Le_Domain' $ACME_PATH/*/*.conf | sed 's/.*=//' ) | sed "s/' '/,/g;s/'//g;s/,/\n/g" "
echo $( grep -rE 'Le_Alt|Le_Domain' $ACME_PATH/*/*.conf | sed 's/.*=//' ) | sed "s/' '/,/g;s/'//g;s/,/\n/g"
echo $( grep -rE 'Le_Alt|Le_Domain' $ACME_PATH/*/*.conf | sed 's/.*=//' )
grep -rE 'Le_Alt|Le_Domain' $ACME_PATH/*/*.conf | sed 's/.*=//'
find $ACME_PATH/*/*.conf
find $ACME_PATH/*/
find $ACME_PATH/*/ -type d
find $ACME_PATH/*/fullchain.cer
find $ACME_PATH/*/fullchain.cer | xargs -L1 dirname
find $ACME_PATH/*/fullchain.cer | xargs -L1 dirname | xargs -L1 basename
find $ACME_PATH/*/fullchain.cer | xargs -L1 dirname | xargs -L1 basename | xargs -L1 -I'{}' grep $ACME_PATH/'{}'/*.cnf
find $ACME_PATH/*/fullchain.cer | xargs -L1 dirname | xargs -L1 basename | xargs -L1 -I'{}' grep $ACME_PATH/'{}'/*.conf
crontab -l
cat /usr/local/bin/checkmarketssl.sh
find $ACME_PATH/*/fullchain.cer | xargs -L1 dirname | xargs -L1 basename | xargs -L1 -I'{}' grep -rE 'Le_Alt|Le_Domain' $ACME_PATH/'{}'/*.conf
find $ACME_PATH/*/fullchain.cer | xargs -L1 dirname | xargs -L1 basename | xargs -L1 -I'{}' grep -rE 'Le_Alt|Le_Domain' $ACME_PATH/'{}'/'{}'.conf
find $ACME_PATH/*/fullchain.cer | xargs -L1 dirname | xargs -L1 basename | xargs -L1 -I'{}' grep -rE 'Le_Alt|Le_Domain' $ACME_PATH/'{}'/'{}'.conf | sed 's/.*=//'
find $ACME_PATH/*/fullchain.cer | xargs -L1 dirname | xargs -L1 basename | xargs -L1 -I'{}' grep -rE 'Le_Alt|Le_Domain' $ACME_PATH/'{}'/'{}'.conf 2>/dev/null | sed 's/.*=//'
find $ACME_PATH/*/fullchain.cer | xargs -L1 dirname | xargs -L1 basename | xargs -L1 -I'{}' grep -rE 'Le_Alt|Le_Domain' $ACME_PATH/'{}'/'{}'.conf 2>/dev/null | sed 's/.*=//' | grep '\.'
cat /usr/local/bin/checkmarketssl.sh
find $ACME_PATH/*/fullchain.cer | xargs -L1 dirname | xargs -L1 basename | xargs -L1 -I'{}' grep -rE 'Le_Alt|Le_Domain' $ACME_PATH/'{}'/'{}'.conf 2>/dev/null | sed 's/.*=//' | grep '\.' | sed "s/' '/,/g;s/'//g;s/,/\n/g" | xargs -L1 -I'{}' bash -c "echo -n {}' ' ; echo \$( dig +short {} ) ; echo " | grep $MARKET_IP | sort | uniq | awk '{ print $1 }' | tr 'A-Z' 'a-z' | xargs -L1 -I'{}' touch $REDIR_SSL_PATH/'{}'
find $ACME_PATH/*/fullchain.cer | xargs -L1 dirname | xargs -L1 basename | xargs -L1 -I'{}' grep -rE 'Le_Alt|Le_Domain' $ACME_PATH/'{}'/'{}'.conf 2>/dev/null | sed 's/.*=//' | grep '\.' | sed "s/' '/,/g;s/'//g;s/,/\n/g" | xargs -L1 -I'{}' bash -c "echo -n {}' ' ; echo \$( dig +short {} ) ; echo " | grep $MARKET_IP | sort | uniq | awk '{ print $1 }' | tr 'A-Z' 'a-z' | xargs -L1 -I'{}' echo touch $REDIR_SSL_PATH/'{}'
find $ACME_PATH/*/fullchain.cer | xargs -L1 dirname | xargs -L1 basename | xargs -L1 -I'{}' grep -rE 'Le_Alt|Le_Domain' $ACME_PATH/'{}'/'{}'.conf 2>/dev/null | sed 's/.*=//' | grep '\.' | sed "s/' '/,/g;s/'//g;s/,/\n/g" | xargs -L1 -I'{}' bash -c "echo -n {}' ' ; echo \$( dig +short {} ) ; echo " | grep $MARKET_IP | sort | uniq | awk '{ print $1 }' | tr 'A-Z' 'a-z' | xargs -L1 -I'{}' touch $REDIR_SSL_PATH/'{}'
find $ACME_PATH/*/fullchain.cer | xargs -L1 dirname | xargs -L1 basename | xargs -L1 -I'{}' grep -rE 'Le_Alt|Le_Domain' $ACME_PATH/'{}'/'{}'.conf 2>/dev/null | sed 's/.*=//' | grep '\.' | sed "s/' '/,/g;s/'//g;s/,/\n/g" | xargs -L1 -I'{}' bash -c "echo -n {}' ' ;"
find $ACME_PATH/*/fullchain.cer | xargs -L1 dirname | xargs -L1 basename | xargs -L1 -I'{}' grep -rE 'Le_Alt|Le_Domain' $ACME_PATH/'{}'/'{}'.conf 2>/dev/null | sed 's/.*=//' | grep '\.' | sed "s/' '/,/g;s/'//g;s/,/\n/g" | xargs -L1 -I'{}' bash -c "echo -n {}' ' ; echo \$( dig +short {} ) ; echo " | grep $MARKET_IP | sort | uniq | awk '{ print $1 }' | tr 'A-Z' 'a-z' | xargs -L1 -I'{}' touch $REDIR_SSL_PATH/'{}'
mc
crontab -l
/usr/local/bin/sync_portal_domains.sh 88.214.193.185
rm *
mc
crontab -l
cat /usr/local/bin/checkmarketssl.sh
ls -la /home/marketplace2/public_html/client/marketplace-portals/public/redirssl
/usr/local/bin/sync_portal_domains.sh 88.214.193.185
curl -i 003186.com
dig 003186.com
curl -i 003186.com
curl -i 003186.com/.well-known
vim marketplace-portals.epik.com.vhost
service apache2 reload
/usr/local/bin/sync_portal_domains.sh 88.214.193.185
crontab -l
cat /usr/local/bin/sync_portal_domains.sh
ocd /home/marketplace/public_html
cd /home/marketplace/public_html
mkdir -p .well-known/acme-challenge/
touch 7potksw7f9UickI3DkHSjbV1UUJi00CSCuYFXVjcgLc
tail -f /var/log/apache2/marketplace-portals.epik.com.access.log
service apche2 reload
service apache2 reload
cat /usr/local/bin/sync_portal_domains.sh
crontab -l
/usr/local/bin/sync_portal_domains.sh 88.214.193.185
service apache2 reload
/usr/local/bin/sync_portal_domains.sh 88.214.193.185
mv ca ca.1
/usr/local/bin/sync_portal_domains.sh 88.214.193.185
crontab -l
/usr/local/bin/haproxy_ssl.sh
cat /usr/local/bin/checkmarketssl.sh
crontab -l
/usr/local/bin/checkmarketssl.sh 88.214.193.185
cat /usr/local/bin/checkmarketssl.sh
REDIR_SSL_PATH=/home/marketplace2/public_html/client/marketplace-portals/public/redirssl
ACME_PATH=/root/.acme.sh
ACME_PATH_TRASH=/root/.acme.sh.trash
mkdir -p $ACME_PATH_TRASH
MARKET_IP=$1
[ -z "$MARKET_IP" ] && MARKET_IP=88.214.193.185
FILTER=$(echo $( $ACME_PATH/acme.sh --list | sed 's/\s\+""\s\+/,/;s/ .\+//;s/,/\n/g' | sort | uniq | grep -vE '*\.anonymize\.com' | xargs -L1 --no-run-if-empty resolveip 2>&1 | grep -v $MARKET_IP | sed "s/.\+ of //;s/.\+ for '//;s/[' ].\+//" | grep '\.' ) | sed 's/ /|/g;s/^/\(/;s/$/\)/' )
if [ `echo $FILTER | wc -c` -gt 5 ]; then $ACME_PATH/acme.sh --list | grep -E $FILTER | awk '{ print $1 }' | grep '\.' | head -n1 | xargs -L1 -I'{}' --no-run-if-empty $ACME_PATH/acme.sh --remove -d '{}'; find $ACME_PATH -name '*.removed' | xargs -L1 --no-run-if-empty dirname | grep -E '/root/.acme.sh/.+\..+' | head -n1 | xargs -L1 -I'{}' --no-run-if-empty echo mv '{}' $ACME_PATH_TRASH/$(basename '{}').$(date +%s); fi
/usr/local/bin/checkmarketssl.sh 88.214.193.185
cat /usr/local/bin/checkmarketssl.sh 88.214.193.185
REDIR_SSL_PATH=/home/marketplace2/public_html/client/marketplace-portals/public/redirssl
ACME_PATH=/root/.acme.sh
ACME_PATH_TRASH=/root/.acme.sh.trash
mkdir -p $ACME_PATH_TRASH
MARKET_IP=$1
[ -z "$MARKET_IP" ] && MARKET_IP=88.214.193.185
FILTER=$(echo $( $ACME_PATH/acme.sh --list | sed 's/\s\+""\s\+/,/;s/ .\+//;s/,/\n/g' | sort | uniq | grep -vE '*\.anonymize\.com' | xargs -L1 --no-run-if-empty resolveip 2>&1 | grep -v $MARKET_IP | sed "s/.\+ of //;s/.\+ for '//;s/[' ].\+//" | grep '\.' ) | sed 's/ /|/g;s/^/\(/;s/$/\)/' )
if [ `echo $FILTER | wc -c` -gt 5 ]; then $ACME_PATH/acme.sh --list | grep -E $FILTER | awk '{ print $1 }' | grep '\.' | head -n1 | xargs -L1 -I'{}' --no-run-if-empty $ACME_PATH/acme.sh --remove -d '{}'; find $ACME_PATH -name '*.removed' | xargs -L1 --no-run-if-empty dirname | grep -E '/root/.acme.sh/.+\..+' | head -n1 | xargs -L1 -I'{}' --no-run-if-empty echo mv '{}' $ACME_PATH_TRASH/$(basename '{}').$(date +%s); fi
find $ACME_PATH/*/fullchain.cer | xargs -L1 dirname | xargs -L1 basename | xargs -L1 -I'{}' grep -rE 'Le_Alt|Le_Domain' $ACME_PATH/'{}'/'{}'
find $ACME_PATH/*/
find $ACME_PATH/*/fullchain.cer | xargs -L1 dirname | xargs -L1 basename | xargs -L1 -I'{}' grep -rE 'Le_Alt|Le_Domain' $ACME_PATH/'{}'/'{}'
find $ACME_PATH/*/ -name fullchain.cer
/usr/local/bin/checkmarketssl.sh 88.214.193.185
cat /usr/local/bin/checkmarketssl.sh 88.214.193.185
/usr/local/bin/checkmarketssl.sh 88.214.193.185
o
find /root/.acme.sh
find /root/.acme.sh -type f
find /root/.acme.sh -type f -name '*.removed'
find /root/.acme.sh -type f -name '*.removed' | xargs -L1 dirname
find /root/.acme.sh -type f -name '*.removed' | xargs -L1 dirname | grep .acme.sh
find /root/.acme.sh -type f -name '*.removed' | xargs -L1 dirname | grep .acme.sh/
find /root/.acme.sh -type f -name '*.removed' | xargs -L1 --no-run-if-empty dirname | grep .acme.sh/ | xargs -L1
find /root/.acme.sh -type f -name '*.removed' | xargs -L1 --no-run-if-empty dirname | grep .acme.sh/ | xargs -L1 -I'{}' --no-run-if-empty echo "mv {}"
find $ACME_PATH -type f -name '*.removed' | xargs -L1 --no-run-if-empty dirname | grep .acme.sh/ | xargs -L1 -I'{}' --no-run-if-empty echo "mv {} "
find $ACME_PATH -type f -name '*.removed' | xargs -L1 --no-run-if-empty dirname | xargs -L1 --no-run-if-empty basename | xargs -L1 -I'{}' --no-run-if-empty echo "mv {} "
TRASH_PATH=$ACME_PATH.trash
find $ACME_PATH -type f -name '*.removed' | xargs -L1 --no-run-if-empty dirname | xargs -L1 --no-run-if-empty basename | xargs -L1 -I'{}' --no-run-if-empty echo "mv {} "
find $ACME_PATH -type f -name '*.removed' | xargs -L1 --no-run-if-empty dirname | xargs -L1 --no-run-if-empty basename | xargs -L1 -I'{}' --no-run-if-empty echo "mv $ACME_PATH{} "
find $ACME_PATH -type f -name '*.removed' | xargs -L1 --no-run-if-empty dirname | xargs -L1 --no-run-if-empty basename | xargs -L1 -I'{}' --no-run-if-empty echo "mv $ACME_PATH/{} $TRUSH_PATH/{} "
TRASH_PATH=$ACME_PATH".trash"
find $ACME_PATH -type f -name '*.removed' | xargs -L1 --no-run-if-empty dirname | xargs -L1 --no-run-if-empty basename | xargs -L1 -I'{}' --no-run-if-empty echo "mv $ACME_PATH/{} $TRUSH_PATH/{} "
TRASH_PATH="$ACME_PATH".trash
find $ACME_PATH -type f -name '*.removed' | xargs -L1 --no-run-if-empty dirname | xargs -L1 --no-run-if-empty basename | xargs -L1 -I'{}' --no-run-if-empty echo "mv $ACME_PATH/{} $TRUSH_PATH/{} "
find $ACME_PATH -type f -name '*.removed' | xargs -L1 --no-run-if-empty dirname | xargs -L1 --no-run-if-empty basename | xargs -L1 -I'{}' --no-run-if-empty echo "mv $ACME_PATH/{} $TRASH_PATH/{} "
date +%s%N
MSDATE=$(date +%s%N) ; find $ACME_PATH -type f -name '*.removed' | xargs -L1 --no-run-if-empty dirname | xargs -L1 --no-run-if-empty basename | xargs -L1 -I'{}' --no-run-if-empty echo "mv $ACME_PATH/{} $TRASH_PATH/{} "
MSDATE=$(date +%s%N) ; find $ACME_PATH -type f -name '*.removed' | xargs -L1 --no-run-if-empty dirname | xargs -L1 --no-run-if-empty basename | xargs -L1 -I'{}' --no-run-if-empty echo "mv $ACME_PATH/{} $TRASH_PATH/{}.$MSDATE "
MSDATE=$(date +%s%N) ; find $ACME_PATH -type f -name '*.removed' | xargs -L1 --no-run-if-empty dirname | xargs -L1 --no-run-if-empty basename | xargs -L1 -I'{}' --no-run-if-empty echo "mv $ACME_PATH/{} $TRASH_PATH/{}.$MSDATE"
/usr/local/bin/checkmarketssl.sh 88.214.193.185
crontab -l
/usr/local/bin/checkmarketssl.sh 88.214.193.185
/usr/local/bin/sync_portal_domains.sh 88.214.193.185
/usr/local/bin/checkmarketssl.sh 88.214.193.185
/usr/local/bin/sync_portal_domains.sh 88.214.193.185
top
crontab -l -u marketplace -H
crontab -l -u marketplace
ls -la ~marketplace/logs/actions/parking_update.log
date
top
crontab -l -u marketplace -H
crontab -l -u marketplace
date
crontab -l -u marketplace
ls -la ~marketplace/logs/actions/parking_update.log
find /home/marketplace -name portals.php
ls -la /home/marketplace/public_html/client/marketplace-portals/public/portals.php
OA
grep -rl pbdomains.com .
cdcd /etc
service haproxy reload
crontab -l
ls -la /var/log/marketcerts_restart.log
date
cat /var/log/marketcerts_restart.log
crontab -l
which service
ls -la | grep pbdomains.com
crontab -l
dig pbdomains.com
date
/usr/local/bin/checkmarketssl.sh 88.214.193.185
dig aveladomains.avelastores.com
x
crontab -l
cat /usr/local/bin/sync_portal_domains.sh
. <( head -n20 $MP_PATH/client/marketplace-portals/application/configs/application.ini | tail -n7 | sed 's/[ ]*//g;s/\.\([^\.]\+\)=/_\1=/g;s/\.\([^\.]\+\)=/_\1=/g;s/\.\([^\.]\+\)=/_\1=/g;s/\.\([^\.]\+\)=/_\1=/g;' )
IP=$1
ACME_PATH=/root/.acme.sh
ACME_WWW_PATH=/var/www/html
MP_PATH=/home/marketplace/public_html
. <( head -n20 $MP_PATH/client/marketplace-portals/application/configs/application.ini | tail -n7 | sed 's/[ ]*//g;s/\.\([^\.]\+\)=/_\1=/g;s/\.\([^\.]\+\)=/_\1=/g;s/\.\([^\.]\+\)=/_\1=/g;s/\.\([^\.]\+\)=/_\1=/g;' )
head -n20 $MP_PATH/client/marketplace-portals/application/configs/application.ini | tail -n7 | sed 's/[ ]*//g;s/\.\([^\.]\+\)=/_\1=/g;s/\.\([^\.]\+\)=/_\1=/g;s/\.\([^\.]\+\)=/_\1=/g;s/\.\([^\.]\+\)=/_\1=/g;'
echo select domain from portals | MYSQL_PWD=$database_registrar_params_password mysql -N -u$database_registrar_params_username --port=$database_registrar_params_port epik_marketing -h$database_registrar_params_host
echo select domain from portals | MYSQL_PWD=$database_registrar_params_password mysql -N -u$database_registrar_params_username --port=$database_registrar_params_port epik_marketing -h$database_registrar_params_host
echo select domain from portals | MYSQL_PWD=$database_registrar_params_password mysql -N -u$database_registrar_params_username --port=$database_registrar_params_port epik_marketing -h$database_registrar_params_host | grep aveladomains.avelastores.com
head -n20 $MP_PATH/client/marketplace-portals/application/configs/application.ini | tail -n7 | sed 's/[ ]*//g;s/\.\([^\.]\+\)=/_\1=/g;s/\.\([^\.]\+\)=/_\1=/g;s/\.\([^\.]\+\)=/_\1=/g;s/\.\([^\.]\+\)=/_\1=/g;'
echo select domain from portals | MYSQL_PWD=$database_registrar_params_password mysql -N -u$database_registrar_params_username --port=$database_registrar_params_port epik_marketing -h$database_registrar_params_host
head -n20 $MP_PATH/client/marketplace-portals/application/configs/application.ini | tail -n7 | sed 's/[ ]*//g;s/\.\([^\.]\+\)=/_\1=/g;s/\.\([^\.]\+\)=/_\1=/g;s/\.\([^\.]\+\)=/_\1=/g;s/\.\([^\.]\+\)=/_\1=/g;'
echo select domain from portals | MYSQL_PWD=$database_registrar_params_password mysql -N -u$database_registrar_params_username --port=$database_registrar_params_port epik_marketing -h$database_registrar_params_host
echo mysql -N -u$database_registrar_params_username --port=$database_registrar_params_port epik_marketing -h$database_registrar_params_host
crontab -l
/usr/local/bin/sync_portal_domains.sh 88.214.193.185
crontab -l
/usr/local/bin/haproxy_ssl.sh
/usr/local/bin/sync_portal_domains.sh 88.214.193.185
/usr/local/bin/checkmarketssl.sh 88.214.193.185
whois MONOPOLIZE.COM
mc
find portals.php /home/marketplace
find -name portals.php /home/marketplace
find /home/marketplace portals.php
find /home/marketplace -name portals.php
vim /home/marketplace/public_html/client/marketplace-portals/public/portals.php
pt-table-sync --sync-to-master h=127.0.0.1,u=intrustrepl,p=QKJnJoua9916f,P=3307 --databases=epik_marketing --dry-run --print --wait 0 --verbose --tables portals
pt-table-sync --sync-to-master u=root,p=Vc4unbMNB9wlH --databases=epik_marketing --dry-run --print --wait 0 --verbose --tables portals
-wait 0 --verbose --tables portals
pt-table-sync --sync-to-master h=localhost,u=root,p=Vc4unbMNB9wlH --databases=epik_marketing --dry-run --print --wait 0 --verbose --tables portals
pt-table-sync --sync-to-master h=127.0.0.1,u=intrustrepl,p=QKJnJoua9916f,P=3307 --databases=epik_marketing --dry-run --print --wait 0 --verbose --tables portals
pt-table-sync --sync-to-master h=127.0.0.1,u=intrustrepl,p=QKJnJoua9916f --databases=epik_marketing --dry-run --print --wait 0 --verbose --tables portals
pt-table-sync --sync-to-master h=127.0.0.1,u=root,p=QKJnJoua9916f --databases=epik_marketing --dry-run --print --wait 0 --verbose --tables portals
pt-table-sync --sync-to-master h=127.0.0.1,u=root,p=Vc4unbMNB9wlH --databases=epik_marketing --dry-run --print --wait 0 --verbose --tables portals
pt-table-sync --sync-to-master h=127.0.0.1,u=root,p=Vc4unbMNB9wlH h=registrar-old.epik.com,u=intrustrepl,p=QKJnJoua9916f,P=3307 --databases=epik_marketing --dry-run --print --wait 0 --verbose --tables portals
mysql -uroot -p
pt-table-sync --sync-to-master h=127.0.0.1,u=intrustrepl,p=QKJnJoua9916f,P=3307 --databases=epik_marketing --dry-run --print --wait 0 --verbose --tables portals
pt-table-sync --sync-to-master h=127.0.0.1,u=intrustrepl,p=QKJnJoua9916f --databases=epik_marketing --dry-run --print --wait 0 --verbose --tables portals
mysql -uroot -p
pt-table-sync --sync-to-master h=127.0.0.1,u=intrustrepl,p=QKJnJoua9916f --databases=epik_marketing --dry-run --print --wait 0 --verbose --tables portals
mysql
mysql -p
df
find /home/marketplace -name portals.php
vim /home/marketplace/public_html/client/marketplace-portals/public/portals.php
mysql
mysql -p
mysql --version
top
mysql
mysql -p
mysql -p Vc4unbMNB9wlH
mysql -p
vi /etc/mysql/mysql.conf.d/mysqld.cnf
du -shc /var/lib/mysql/epik_m
du -shc /var/lib/mysql/epik_marketing/
pt-table-sync -
aptitude
apt-get install percona-toolkit
screen
mysql
screen
sreen -dr
screen -dr
vi /etc/mysql/my.cnf
vi /etc/mysql/mysql.conf.d/mysqld.cnf
service mysql restart
mysql -p
top
ls
mc
cd
ls -la
rm epik_marketing.sql
zcat epik_marketing.sql.gz | mysql -p epik_marketing
zcat epik_marketing.sql.gz | pv | mysql -p epik_marketing
mysql
mysql -p
vi /etc/mysql/mysql.conf.d/mysqld.cnf
service mysql restart
mysql
mysql -p
vi /etc/mysql/mysql.conf.d/mysqld.cnf
service mysql restart
mysql -p
vi /etc/mysql/mysql.conf.d/mysqld.cnf
service mysql restart
mysql -p
dig tr.epik.com
ip a
ls -la
zcat epik_marketing.sql.gz | pv | mysql epik_marketing
zcat epik_marketing.sql.gz | pv | mysql -p epik_marketing
top
mysql -p
df
mysql -p
screen
mysql -p
vi /etc/mysql/mysql.conf.d/mysqld.cnf
service mysql restart
mysql -p
vi /etc/mysql/mysql.conf.d/mysqld.cnf
service mysql restart
mysql -p
vi /etc/mysql/mysql.conf.d/mysqld.cnf
service mysql restart
mysql -p
grep pt-table ~/.bash_history
pt-table-sync --sync-to-master h=127.0.0.1,u=intrustrepl,p=QKJnJoua9916f --databases=pdns --dry-run --print --wait 0 --verbose
pt-table-sync --sync-to-master h=127.0.0.1,u=root,p=Vc4unbMNB9wlH --databases=pdns --dry-run --print --wait 0 --verbose
pt-table-sync --sync-to-master h=127.0.0.1,u=intrustrepl,p=QKJnJoua9916f --databases=pdns --dry-run --print --wait 0 --verbose
mysql -p
vi /etc/mysql/mysql.conf.d/mysqld.cnf
mysql -p
vi /etc/mysql/mysql.conf.d/mysqld.cnf
grep -rl pdns /etc/mysql/
vi /etc/mysql/mysql.conf.d/replicate_pdns.cnf
rm /etc/mysql/mysql.conf.d/replicate_pdns.cnf
service mysql restart
mysql -p
screen -dr
mysql -p
crontab -l -u marketplace
crontab -l -u root
top
ps axfu
ps axfu | less
mc
/usr/local/bin/sync_portal_domains.sh 88.214.193.185
mc
less /var/log/marketcerts.log
/usr/local/bin/sync_portal_domains.sh 88.214.193.185
crontab -e
/usr/local/bin/sync_portal_domains.sh 88.214.193.185
dig sell.hmeaworld.com
dig -t AAAA sell.hmeaworld.com
dig sell.hmeaworld.com
whois sell.hmeaworld.com
apt-get install whois sell.hmeaworld.com
apt-get install whois
whois sell.hmeaworld.com
whois hmeaworld.com
whois ns1.hmeaworld.com
dig -t AAAA sell.hmeaworld.com
dig -t A sell.hmeaworld.com
crontab -l
vim /usr/local/bin/sync_portal_domains.sh
cat /usr/local/bin/sync_portal_domains.sh
IP=88.214.193.185
ACME_PATH=/root/.acme.sh
ACME_WWW_PATH=/var/www/html
MP_PATH=/home/marketplace/public_html
find /root/.acme.sh/*/*.key | sed 's:/[^/]\+$:/fullchain.cer:' | xargs -L1 -I'{}' bash -c "[ ! -f {} ] && echo \$( dirname {} ) | grep /root/.acme.sh/" | xargs -L1 rm -rf
# Get mysql params
. <( head -n20 $MP_PATH/client/marketplace-portals/application/configs/application.ini | tail -n7 | sed 's/[ ]*//g;s/\.\([^\.]\+\)=/_\1=/g;s/\.\([^\.]\+\)=/_\1=/g;s/\.\([^\.]\+\)=/_\1=/g;s/\.\([^\.]\+\)=/_\1=/g;' )
echo select domain from portals | MYSQL_PWD=$database_registrar_params_password mysql -N -u$database_registrar_params_username --port=$database_registrar_params_port epik_marketing -h$database_registrar_params_host | tr 'A-Z' 'a-z' | xargs -L1 -I'{}' echo -ne "{}\nwww.{}\n" | sort
cat /usr/local/bin/sync_portal_domains.sh
echo select domain from portals | MYSQL_PWD=$database_registrar_params_password mysql -N -u$database_registrar_params_username --port=$database_registrar_params_port epik_marketing -h$database_registrar_params_host | tr 'A-Z' 'a-z' | xargs -L1 -I'{}' echo -ne "{}\nwww.{}\n" | sort | xargs -L1 -I'{}' bash -c "echo -n {}' ' ; echo \$( dig +short {} )"
echo select domain from portals | MYSQL_PWD=$database_registrar_params_password mysql -N -u$database_registrar_params_username --port=$database_registrar_params_port epik_marketing -h$database_registrar_params_host | tr 'A-Z' 'a-z' | xargs -L1 -I'{}' echo -ne "{}\nwww.{}\n" | sort | xargs -L1 -I'{}' bash -c "echo -n {}' ' ; echo \$( dig +short {} )" | tee /tmp/ipdomain
grep 2604:2dc0:100:34:: /tmp/ipdomain
grep sell.hmeaworld.com /tmp/ipdomain
echo select domain from portals | MYSQL_PWD=$database_registrar_params_password mysql -N -u$database_registrar_params_username --port=$database_registrar_params_port epik_marketing -h$database_registrar_params_host | tr 'A-Z' 'a-z' | xargs -L1 -I'{}' echo -ne "{}\nwww.{}\n" | sort | xargs -L1 -I'{}' bash -c "echo -n {}' ' ; echo \$( dig +short {} A {} AAAA )" | tee /tmp/ipdomain
cat /tmp/ipdomain
cat /tmp/ipdomain | grep 88.214.193.185
cat /tmp/ipdomain | grep 88.214.193.185 | sed 's/88.214.193.185//'
cat /tmp/ipdomain | grep 88.214.193.185 | sed 's/88.214.193.185//' | grep -v ' '
cat /tmp/ipdomain | grep 88.214.193.185 | sed 's/88.214.193.185//' | grep -v' '
cat /tmp/ipdomain | grep 88.214.193.185 | sed 's/88.214.193.185//' | grep -v '\'
cat /tmp/ipdomain | grep 88.214.193.185 | sed 's/88.214.193.185//' | grep -v '\ '
cat /tmp/ipdomain | grep 88.214.193.185 | sed 's/88.214.193.185//' | grep -vE '\s+'
cat /tmp/ipdomain | grep 88.214.193.185 | sed 's/88.214.193.185//' | grep -vE '\s\+'
cat /tmp/ipdomain | grep 88.214.193.185 | sed 's/88.214.193.185//' | grep -vE ' \+'
cat /tmp/ipdomain | grep 88.214.193.185 | sed 's/88.214.193.185//' | grep ' '
cat /tmp/ipdomain | grep 88.214.193.185 | sed 's/ 88.214.193.185//' | grep ' '
crontab -l
bim /usr/local/bin/sync_portal_domains.sh
vim /usr/local/bin/sync_portal_domains.sh
/usr/local/bin/sync_portal_domains.sh
cat /usr/local/bin/sync_portal_domains.sh
IP=88.214.193.185
ACME_PATH=/root/.acme.sh
ACME_WWW_PATH=/var/www/html
Le_New=$( echo $( diff <( echo $( grep -rE 'Le_Alt|Le_Domain' $ACME_PATH/*/*.conf | sed 's/.*=//' ) | sed "s/' '/,/g;s/'//g;s/,/\n/g" | tr 'A-Z' 'a-z' | xargs -L1 -I'{}' bash -c "echo -n {}' ' ; echo \$( dig +short {} 2>/dev/null ) ; echo " | grep -vE '^$' | grep $IP | awk '{ print $1 }' | sort ) <( echo select domain from portals | MYSQL_PWD=$database_registrar_params_password mysql -N -u$database_registrar_params_username --port=$database_registrar_params_port epik_marketing -h$database_registrar_params_host | tr 'A-Z' 'a-z' | xargs -L1 -I'{}' echo -ne "{}\nwww.{}\n" | sort | xargs -L1 -I'{}' bash -c "echo -n {}' ' ; echo \$( dig +short {} A {} AAAA ) ; echo " | grep -vE '^$' | grep $IP | sed "s/ $IP//" | grep -v ' ' | awk '{ print $1 }' | sort ) | grep '>' | head -n100 | awk '{ print $2 }') | sed 's/ /,/g;s/^/,/;s/^,\s*\s*$//' )
echo $Le_New
Le_New=$( echo $( echo $Le_New | sed 's/,/\n/g' | sed 's/^\(.*\)$/\1 \1/;s/^www\.//' | sort | awk '{ print $2}' ) | sed 's/ /,/g;s/^/,/' )
export Le_New
echo $Le_New
CMD_ADD=$( find $ACME_PATH/**/ -name '*.conf' -a ! -name '*.csr.*' -a ! -name 'ca.conf' -exec bash -c ' . {} ; [ $[ $( echo $Le_Alt$Le_New | sed 's/[^,]//g' | wc -c ) + 1 ] -lt 100 ] && ( echo -n -d $Le_Domain ; echo $Le_Alt$Le_New | sed "s/^/ -d /;s/,/ -d /g;s/ -d \+$//g") && exit ' \; )
echo $CMD_ADD=$( find $ACME_PATH/**/ -name '*.conf' -a ! -name '*.csr.*' -a ! -name 'ca.conf' -exec bash -c ' . {} ; [ $[ $( echo $Le_Alt$Le_New | sed 's/[^,]//g' | wc -c ) + 1 ] -lt 100 ] && ( echo -n -d $Le_Domain ; echo $Le_Alt$Le_New | sed "s/^/ -d /;s/,/ -d /g;s/ -d \+$//g") && exit ' \; )
echo $CMD_ADD
CMD_ADD=$( find $ACME_PATH/**/ -name '*.conf' -a ! -name '*.csr.*' -a ! -name 'ca.conf' -exec bash -c ' . {} ; [ $[ $( echo $Le_Alt$Le_New | sed 's/[^,]//g' | wc -c ) + 1 ] -lt 100 ] && ( echo -n -d $Le_Domain ; echo $Le_Alt$Le_New | sed "s/^/ -d /;s/,/ -d /g;s/ -d \+$//g") && exit ' \; )
echo $CMD_ADD
if [ "$CMD_ADD" == "" ]; then CMD_ADD=$( echo $Le_New | sed "s/,/ -d /g" ) ; fi ;
echo acme.sh --issue $CMD_ADD -w $ACME_WWW_PATH --log
acme.sh --issue -d 003186.com -d www.003186.com -d 00.org -d www.00.org -d 75k.com -d www.75k.com -d aristofreak.com -d www.aristofreak.com -d aveladomains-pleasefixip.avelastores.com -d www.aveladomains-pleasefixip.avelastores.com -d bamdomains.com -d www.bamdomains.com -d bestdomainsever.com -d www.bestdomainsever.com -d bethissite.com -d www.bethissite.com -d bizclasses.com -d www.bizclasses.com -d blaise.cash -d www.blaise.cash -d bloomiest.com -d www.bloomiest.com -d brandmissile.com -d www.brandmissile.com -d brandsy.com -d www.brandsy.com -d bravestarbrands.com -d www.bravestarbrands.com -d builderblackpool.com -d www.builderblackpool.com -d buyrent.domains -d www.buyrent.domains -d cannabisdomain.shop -d www.cannabisdomain.shop -d centurionleasing.com -d chimox.com -d chipnames.com -d circledomains.com -d coinnames.com -d creativemarks.com -d cureset.com -d defilimited.com -d denverfitnesscenter.com -d distinctiveadvantage.com -d dn.prathmeshtokekar.com -d dnside.com -d dnwanted.com -d dn.world -d domainalchemy.com -d domainarcade.com -d domain.colibrithemes.com -d domainful.com -d domainingconsultants.com -d domainmarketcenter.com -d domainmiddleman.net -d domainnames.money -d domainsmarkets.com -d domains.nametree.com -d domains.thakert.com -d domainstosell.com -d domains.webspacevalue.com -d domainvendo.com -d domcorner.com -d earnonlinecash.com -d epiklist.com -d firstpremierdomains.com -d frasbrands.com -d generaldomainnames.net -d greenleafnames.com -d irresistibledomains.com -d israelmarihuana.com -d leaseit.click -d lease.lifenames.com -d lifetimelearnings.in -d nameassurance.com -d namepremiere.com -d namersen.com -d namesifu.com -d namevictory.xyz -d obtain.domains -d oowowoo.com -d owldomains.com -d packageddomains.com -d parkingtest0.us.tv -d pbdomains.com -d premiumnames.top -d prpdirect.com -d qjhe.com -d redspotdomains.com -d robustdomains.com -d sheffieldfoodfestival.com -d shroomy.org -d simplenames.com -d single-character.com -d spectacular.co -d strategik.com -d taywolt.com -d thatperfectname.com -d tlfdomains.com -d vitalinternet.com -w /var/www/html --log
cat /usr/local/bin/sync_portal_domains.sh
/usr/local/bin/sync_portal_domains.sh
vi /usr/local/bin/sync_portal_domains.sh
/usr/local/bin/sync_portal_domains.sh
vi /usr/local/bin/sync_portal_domains.sh
Le_New=$( echo $( diff <( echo $( grep -rE 'Le_Alt|Le_Domain' $ACME_PATH/*/*.conf | sed 's/.*=//' ) | sed "s/' '/,/g;s/'//g;s/,/\n/g" | tr 'A-Z' 'a-z' | xargs -L1 -I'{}' bash -c "echo -n {}' ' ; echo \$( dig +short {} 2>/dev/null ) ; echo " | grep -vE '^$' | grep $IP | awk '{ print $1 }' | sort ) <( echo select domain from portals | MYSQL_PWD=$database_registrar_params_password mysql -N -u$database_registrar_params_username --port=$database_registrar_params_port epik_marketing -h$database_registrar_params_host | tr 'A-Z' 'a-z' | xargs -L1 -I'{}' echo -ne "{}\nwww.{}\n" | sort | xargs -L1 -I'{}' bash -c "echo -n {}' ' ; echo \$( dig +short {} A {} AAAA ) ; echo " | grep -vE '^$' | grep $IP | sed "s/ $IP//" | grep -v ' ' | awk '{ print $1 }' | sort ) | grep '>' | head -n100 | awk '{ print $2 }') | sed 's/ /,/g;s/^/,/;s/^,\s*\s*$//' )
vi /usr/local/bin/sync_portal_domains.sh
ip a
/usr/local/bin/sync_portal_domains.sh 88.214.193.185
crontab -l
/usr/local/bin/haproxy_ssl.sh
/usr/local/bin/cleanmarketacmeonerror.sh
crontab -e
cat /usr/local/bin/sync_portal_domains.sh
mc
grep -rl 51.79.55.214 .
grep -rl 51.79.55.21 .
grep 51.79.55.214 *
mc
p
mv anonymize.sql.xz ___anonymize.sql.xz
grep DB wp-config.php
mysqldump -uanonymize -p anonymize > anonymize.....sql
xz -9 anonymize.....sql
rsync -a public_html public_html.backup
mv public_html.backup anonymize.public_html.backup
go
top
mc
mv .htaccess .htaccess1
mv .htaccess1 .htaccess
mv index.php index.php1
mv index.php1 index.php
mv .htaccess .htaccess1
mv .htaccess1 .htaccess
vi /etc/apache2/sites-available/epik.com.vhost
cd /home/epik/public_html/
mc
cd /home/epik/public_html/promos/
vi index.php
cd ../
vi _assists/includes/head.php
cat /etc/apache2/sites-enabled/00001-epik.com.vhost.conf
vi /etc/apache2/sites-enabled/00001-epik.com.vhost.conf
/etc/init.d/apache2 reload
mc
wget https://www.epik.com/promos
mc
cat /etc/apache2/sites-enabled/00001-epik.com.vhost.conf
mc
grep -r ""http://epik"
grep -r "http://epik"
rm blog/epik_blog.sql
grep -r "http://epik"
rm blog/delme/epik_blog.sql
grep -r "http://epik"
rm support/epik.sql
grep -r "http://epik.com"
whois megastation.com
ping megastation.com
whois akkurt.com
whois prucarealty.com
ping prucarealty.com
dig tabaks.com MX
ping tabaks.com
mc
ps ax|grep nginx
tail -f /var/log/apache2/epik.com.error.log
cat /etc/apache2/sites-enabled/00001-epik.com.vhost.conf
mc
cd /etc/apache2/
grep epik.com
grep -r epik.com
cd /home/epik/public_html
mc
vi sites-available/epik.com.vhost
cd /etc/apache2/
vi sites-available/epik.com.vhost
service apache2 reload
vim 00002-anonymize.com.vhost.conf
vim 00001-epik.com.vhost.conf
service apache2 reload
touch index.html
mv index.html index.html.1
touch index.html
mv .htaccess .htaccess.1
mv .htaccess.1 .htaccess
mv index.php index.php.1
mv index.php.1 index.php
mv escrow escrow1
mv escrow1 escrow
less index.php
date
ls -la
mc
date
./sync_portal_domains.sh
vim sync_portal_domains.sh
cat sync_portal_domains.sh
crontab -l
vim sync_portal_domains.sh
/usr/local/bin/sync_portal_domains.sh 88.214.193.185
crontab -e
/usr/local/bin/sync_portal_domains.sh 88.214.193.185
crontab -e
grep us.tv
grep us.tv acme.sh
grep us.tv acme.sh.log
grep us.tv acme.sh.log | tail -n1
grep us.tv acme.sh.log | tail -n10
top
mc
date
crontab -l
tail -f /var/log/apache2/epik.com.error.log
OA
date
less
less acme.sh.log
cat /root/.acme.sh/acme.sh.log | grep -E "error:No valid IP addresses found for|Error renew"
grep trash *
§§
crontab -e
./checkmarketssl.sh
./sync_portal_domains.sh
cat sync_portal_domains.sh
crontab -l
/root/.acme.sh/acme.sh --issue -d 00.org -d 003186.com -d bethissite.com -d 75k.com -d aristofreak.com -d bestdomainsever.com -d aveladomains-pleasefixip.avelastores.com -d bizclasses.com -d bamdomains.com -w /home/marketplace2/public_html/client/marketplace-portals/public --log
dig aveladomains-pleasefixip.avelastores.com
sort -R
./sync_portal_domains.sh
./sync_portal_domains.sh 88.214.193.185
dig www.domainingconsultants.com
./sync_portal_domains.sh 88.214.193.185
/root/.acme.sh/acme.sh --issue -d dn.world -d 00.org -d www.00.org -d shroomy.org -d www.shroomy.org -d blaise.cash -d www.blaise.cash -d leaseit.click -d www.leaseit.click -w /home/marketplace2/public_html/client/marketplace-portals/public --log
dig www.dn.world
crontab -e
flock
crontab -e
top
ps axfu
ps axfu | less
top
tail -f /var/log/apache2/epik.com.error.log
crontab -l
ps axfu
ps axfu | less
top
ps axfu | less
top
ps axfu
ps axfu | less
less acme.sh.log
date
ps axfu | less
top
ps axfu | less
less acme.sh.log
./sync_portal_domains.sh
crontab -l
time /run/sync_portal_domains /usr/local/bin/sync_portal_domains.sh 88.214.193.185
time /usr/local/bin/sync_portal_domains.sh 88.214.193.185
vim sync_portal_domains.sh
time /usr/local/bin/sync_portal_domains.sh 88.214.193.185
cat sync_portal_domains.sh
ip
ip a
IP=88.214.193.185
ACME_PATH=/root/.acme.sh
ACME_WWW_PATH=/var/www/html
MP_PATH=/home/marketplace/public_html
find /root/.acme.sh/*/*.key | sed 's:/[^/]\+$:/fullchain.cer:' | xargs -L1 -I'{}' bash -c "[ ! -f {} ] && echo \$( dirname {} ) | grep /root/.acme.sh/" | xargs -L1 rm -rf
# Get mysql params
. <( head -n20 $MP_PATH/client/marketplace-portals/application/configs/application.ini | tail -n7 | sed 's/[ ]*//g;s/\.\([^\.]\+\)=/_\1=/g;s/\.\([^\.]\+\)=/_\1=/g;s/\.\([^\.]\+\)=/_\1=/g;s/\.\([^\.]\+\)=/_\1=/g;' )
diff <( echo $( grep -rE 'Le_Alt|Le_Domain' $ACME_PATH/*/*.conf | sed 's/.*=//' ) | sed "s/' '/,/g;s/'//g;s/,/\n/g" | tr 'A-Z' 'a-z' | xargs -L1 -I'{}' bash -c "echo -n {}' ' ; echo \$( dig +short {} 2>/dev/null ) ; echo " | grep -vE '^$' | grep $IP | awk '{ print $1 }' | sort | rev | sort ) <( echo select domain from portals | MYSQL_PWD=$database_registrar_params_password mysql -N -u$database_registrar_params_username --port=$database_registrar_params_port epik_marketing -h$database_registrar_params_host | tr 'A-Z' 'a-z' | xargs -L1 -I'{}' echo -ne "{}\nwww.{}\n" | sort | grep -v \\.us\\.tv | xargs -L1 -I'{}' bash -c "echo -n {}' ' ; echo \$( dig +short {} A {} AAAA ) ; echo " | grep -vE '^$' | grep $IP | sed "s/ $IP//" | grep -v ' ' | awk '{ print $1 }' | rev | sort | rev )
time /usr/local/bin/sync_portal_domains.sh 88.214.193.185
cat /usr/local/bin/sync_portal_domains.sh
diff <( echo $( grep -rE 'Le_Alt|Le_Domain' $ACME_PATH/*/*.conf | sed 's/.*=//' ) | sed "s/' '/,/g;s/'//g;s/,/\n/g" | tr 'A-Z' 'a-z' | xargs -L1 -I'{}' bash -c "echo -n {}' ' ; echo \$( dig +short {} 2>/dev/null ) ; echo " | grep -vE '^$' | grep $IP | awk '{ print $1 }' | rev | sort | rev ) <( echo select domain from portals | MYSQL_PWD=$database_registrar_params_password mysql -N -u$database_registrar_params_username --port=$database_registrar_params_port epik_marketing -h$database_registrar_params_host | tr 'A-Z' 'a-z' | xargs -L1 -I'{}' echo -ne "{}\nwww.{}\n" | sort | grep -v \\.us\\.tv | xargs -L1 -I'{}' bash -c "echo -n {}' ' ; echo \$( dig +short {} A {} AAAA ) ; echo " | grep -vE '^$' | grep $IP | sed "s/ $IP//" | grep -v ' ' | awk '{ print $1 }' | rev | sort | rev )
vim sync_portal_domains.sh
/usr/local/bin/sync_portal_domains.sh
crontab -l
vim sync_portal_domains.sh
/usr/local/bin/sync_portal_domains.sh
/usr/local/bin/sync_portal_domains.sh 88.214.193.185
./sync_portal_domains.sh
vim sync_portal_domains.sh
echo "" | sed 's/(-d\s+)/-d /'
echo "/root/.acme.sh/acme.sh --issue -d -d -d www.israelmarihuana.com -d defilimited.com -d www.defilimited.com -d dnwanted.com -d www.dnwanted.com -d domainnametrend.com -d www.domainnametrend.com -d domainarcade.com -d www.domainarcade.com -w /home/marketplace2/public_html/client/marketplace-portals/public --log" | sed 's/(-d\s+)/-d /'
echo "/root/.acme.sh/acme.sh --issue -d -d -d www.israelmarihuana.com -d defilimited.com -d www.defilimited.com -d dnwanted.com -d www.dnwanted.com -d domainnametrend.com -d www.domainnametrend.com -d domainarcade.com -d www.domainarcade.com -w /home/marketplace2/public_html/client/marketplace-portals/public --log" | sed 's/(-d\s\+)/-d /'
echo "/root/.acme.sh/acme.sh --issue -d -d -d www.israelmarihuana.com -d defilimited.com -d www.defilimited.com -d dnwanted.com -d www.dnwanted.com -d domainnametrend.com -d www.domainnametrend.com -d domainarcade.com -d www.domainarcade.com -w /home/marketplace2/public_html/client/marketplace-portals/public --log" | sed 's/\(-d\s\+\)/-d /'
echo "/root/.acme.sh/acme.sh --issue -d -d -d www.israelmarihuana.com -d defilimited.com -d www.defilimited.com -d dnwanted.com -d www.dnwanted.com -d domainnametrend.com -d www.domainnametrend.com -d domainarcade.com -d www.domainarcade.com -w /home/marketplace2/public_html/client/marketplace-portals/public --log" | sed 's/\(-d\s)/-d /'
echo "/root/.acme.sh/acme.sh --issue -d -d -d www.israelmarihuana.com -d defilimited.com -d www.defilimited.com -d dnwanted.com -d www.dnwanted.com -d domainnametrend.com -d www.domainnametrend.com -d domainarcade.com -d www.domainarcade.com -w /home/marketplace2/public_html/client/marketplace-portals/public --log" | sed 's/(-d\s)/-d /'
echo "/root/.acme.sh/acme.sh --issue -d -d -d www.israelmarihuana.com -d defilimited.com -d www.defilimited.com -d dnwanted.com -d www.dnwanted.com -d domainnametrend.com -d www.domainnametrend.com -d domainarcade.com -d www.domainarcade.com -w /home/marketplace2/public_html/client/marketplace-portals/public --log" | sed 's/(-d\s)/ /g'
echo "/root/.acme.sh/acme.sh --issue -d -d -d www.israelmarihuana.com -d defilimited.com -d www.defilimited.com -d dnwanted.com -d www.dnwanted.com -d domainnametrend.com -d www.domainnametrend.com -d domainarcade.com -d www.domainarcade.com -w /home/marketplace2/public_html/client/marketplace-portals/public --log" | sed 's/(-d)/ /g'
echo "/root/.acme.sh/acme.sh --issue -d -d -d www.israelmarihuana.com -d defilimited.com -d www.defilimited.com -d dnwanted.com -d www.dnwanted.com -d domainnametrend.com -d www.domainnametrend.com -d domainarcade.com -d www.domainarcade.com -w /home/marketplace2/public_html/client/marketplace-portals/public --log" | sed 's/-d/ /g'
echo "/root/.acme.sh/acme.sh --issue -d -d -d www.israelmarihuana.com -d defilimited.com -d www.defilimited.com -d dnwanted.com -d www.dnwanted.com -d domainnametrend.com -d www.domainnametrend.com -d domainarcade.com -d www.domainarcade.com -w /home/marketplace2/public_html/client/marketplace-portals/public --log" | sed 's/-d\s/ /g'
echo "/root/.acme.sh/acme.sh --issue -d -d -d www.israelmarihuana.com -d defilimited.com -d www.defilimited.com -d dnwanted.com -d www.dnwanted.com -d domainnametrend.com -d www.domainnametrend.com -d domainarcade.com -d www.domainarcade.com -w /home/marketplace2/public_html/client/marketplace-portals/public --log" | sed 's/-d\s\+/ /g'
echo "/root/.acme.sh/acme.sh --issue -d -d -d www.israelmarihuana.com -d defilimited.com -d www.defilimited.com -d dnwanted.com -d www.dnwanted.com -d domainnametrend.com -d www.domainnametrend.com -d domainarcade.com -d www.domainarcade.com -w /home/marketplace2/public_html/client/marketplace-portals/public --log" | sed 's/(-d\s\+)/ /g'
echo "/root/.acme.sh/acme.sh --issue -d -d -d www.israelmarihuana.com -d defilimited.com -d www.defilimited.com -d dnwanted.com -d www.dnwanted.com -d domainnametrend.com -d www.domainnametrend.com -d domainarcade.com -d www.domainarcade.com -w /home/marketplace2/public_html/client/marketplace-portals/public --log" | sed 's/\(-d\s\+\)/ /g'
echo "/root/.acme.sh/acme.sh --issue -d -d -d www.israelmarihuana.com -d defilimited.com -d www.defilimited.com -d dnwanted.com -d www.dnwanted.com -d domainnametrend.com -d www.domainnametrend.com -d domainarcade.com -d www.domainarcade.com -w /home/marketplace2/public_html/client/marketplace-portals/public --log" | sed 's/\(-d\s\+\)\+/ /g'
echo "/root/.acme.sh/acme.sh --issue -d -d -d www.israelmarihuana.com -d defilimited.com -d www.defilimited.com -d dnwanted.com -d www.dnwanted.com -d domainnametrend.com -d www.domainnametrend.com -d domainarcade.com -d www.domainarcade.com -w /home/marketplace2/public_html/client/marketplace-portals/public --log" | sed 's/\(-d\s\+\)\+/ /'
echo "/root/.acme.sh/acme.sh --issue -d -d -d www.israelmarihuana.com -d defilimited.com -d www.defilimited.com -d dnwanted.com -d www.dnwanted.com -d domainnametrend.com -d www.domainnametrend.com -d domainarcade.com -d www.domainarcade.com -w /home/marketplace2/public_html/client/marketplace-portals/public --log" | sed 's/\(-d\s\+\)\+/-d /'
vim sync_portal_domains.sh
/usr/local/bin/sync_portal_domains.sh 88.214.193.185
vim sync_portal_domains.sh
/usr/local/bin/sync_portal_domains.sh 88.214.193.185
top
ps axfu
ps axfu | less
kill 23391
ps axfu | less
kill 23404
ps axfu | less
kill 23413
ps axfu | less
kill 23406
ps axfu | less
kill 23430
top
ps axfu
acme.sh
acme.sh --list
acme.sh --list | grep \"\"
acme.sh --list | grep \"\" | awk '{ print $3 }'
acme.sh --list | grep \"\" | awk '{ print $3 }' | sed 's/,/\n/g'
acme.sh --list | grep \"\" | awk '{ print $3 }' | sed 's/,/\n/g' | wc -l
top
cat sync_portal_domains.sh
acme.sh --list | grep \"\" | awk '{ print $3 }' | sed 's/,/\n/g' | wc -l
crontab -e
top
ps axfu
ps axfu | less
cd /home/epik/public_html/blog/
vi wp-config.php
vi .htaccess
cd ../support/
ls
vi wp-config.php
cat ../blog/wp-config.php
vi wp-config.php
cd /home/epik/public_html/
mysql
ls -la /var/lib/mysql
cat /usr/local/sbin/backupdbs
rm /usr/local/sbin/backupdbs
cat /usr/local/sbin/backupdbs
rm /usr/local/sbin/backupdbs
cat /usr/local/sbin/backupdbs
rm /usr/local/sbin/backupdbs
cat /usr/local/sbin/backupdbs
ls -la /usr/local/sbin/backupdbs
cat /usr/local/sbin/backupdbs
ls -la /var/lib/mysql
cat /usr/local/sbin/backupdbs
. /usr/local/sbin/backupdbs
for DB in `echo $MYSQL_DATABASES | sed 's/,/ /g'`; do ; done
for DB in `echo $MYSQL_DATABASES | sed 's/,/ /g'` do echo db; done
for DB in `echo $MYSQL_DATABASES | sed 's/,/ /g'` ; do echo db; done
for DB in `echo $MYSQL_DATABASES | sed 's/,/ /g'` ; do echo $DB; done
cat /usr/local/sbin/backupdbs
rm /usr/local/sbin/backupdbs
cat /usr/local/sbin/backupdbs
rm /usr/local/sbin/backupdbs
cat /usr/local/sbin/backupdbs
top
rm /usr/local/sbin/backupdbs
cat /usr/local/sbin/backupdbs
rm /usr/local/sbin/backupdbs
cat /usr/local/sbin/backupdbs
/usr/local/sbin/backupdbs
vim /usr/local/sbin/backupdbs
BASEDIR=/backups/db
DATE=$(date +\%Y_\%m_\%d)
FULLDIR=$BASEDIR/$DATE
mkdir -p $FULLDIR
# END Add base variables
# BEGIN Check and exit if ready
[ -f "$FULLDIR/ready"] && echo 1
/usr/local/sbin/backupdbs
ln -s `pwd`/2020_03_28 current
cat /usr/local/sbin/backupdbs
BASEDIR=/backups/db
find $BASEDIR -maxdepth 1 -mindepth 1 -type d | sort | grep _ | head -n-5
/usr/local/sbin/backupdbs
./master.yml
less /usr/local/sbin/backupdbs
crontab -l
date
crontab -l
crontab -e
crontab -l
date
crontab -l
date
crontab -e
top
ps axfu | less
tail -f /var/log/full_backup.log
crontab -e
tail -f /var/log/full_backup.log
top
ls -la current/ready
ls -la current
ls -la /backups/db/current
ls -la /backups/db/current | awk '{ print $9" "$10" "$11 }'
ls -la /backups/db/current | awk '{ print $9" "$10" "$11"\n" }'
$( ls -la /backups/db/current | awk '{ print $9" "$10" "$11"" }' ; echo "/backups/db/current -> /backups/db/2020_03_28")
rcho ( ls -la /backups/db/current | awk '{ print $9" "$10" "$11"" }' ; echo "/backups/db/current -> /backups/db/2020_03_28")
echo ( ls -la /backups/db/current | awk '{ print $9" "$10" "$11"" }' ; echo "/backups/db/current -> /backups/db/2020_03_28")
echo ( ls -la /backups/db/current | awk '{ print $9" "$10" "$11"" }' ; echo "/backups/db/current -> /backups/db/2020_03_28" )
echo ( ls -la /backups/db/current | awk '{ print $9" "$10" "$11"" }' ; echo "/backups/db/current -> /backups/db/2020_03_28" ) | sort | uniq
( ls -la /backups/db/current | awk '{ print $9" "$10" "$11"" }' ; echo "/backups/db/current -> /backups/db/2020_03_28" ) | sort | uniq
( ls -la /backups/db/current | awk '{ print $9" "$10" "$11"" }' ; echo "/backups/db/current -> /backups/db/2020_03_28" ) | sort | uniq | grep /backups/db/current | wc -l
( ls -la /backups/db/current | awk '{ print $9" "$10" "$11"" }' ; echo "/backups/db/current -> /backups/db/2020_03_28" ) | sort | uniq | grep /backups/db/current | wc -l
[ `( ls -la /backups/db/current | awk '{ print $9" "$10" "$11"" }' ; echo "/backups/db/current -> /backups/db/2020_03_28" ) | sort | uniq | grep /backups/db/current | wc
`
reset
( ls -la /backups/db/current | awk '{ print $9" "$10" "$11"" }' ; echo "/backups/db/current -> /backups/db/2020_03_28" ) | sort | uniq | grep /backups/db/current | wc -l
( ls -la /backups/db/current | awk '{ print $9" "$10" "$11"" }' ; echo "/backups/db/current -> /backups/db/2020_03_28" ) | sort | uniq | grep /backups/db/current | grep /backups/db/2020_03_28 | wc -l
[ `( ls -la /backups/db/current | awk '{ print $9" "$10" "$11"" }' ; echo "/backups/db/current -> /backups/db/2020_03_28" ) | sort | uniq | grep /backups/db/current | grep /backups/db/2020_03_28 | wc -l` -eq 1 ] && echo ok
cat /usr/local/sbin/backupfiles
randpw
cat /usr/local/sbin/backupfiles
rm /usr/local/sbin/backupfiles
cat /usr/local/sbin/backupfiles
/usr/local/sbin/backupfiles
cat /usr/local/sbin/backupfiles
/usr/local/sbin/backupfiles
ln -s `pwd`db/2020_03_28 current
rm current
ln -s `pwd`/db/2020_03_28 current
ls -la
/usr/local/sbin/backupfiles
cat /usr/local/sbin/backupfiles
mv current db
/usr/local/sbin/backupfiles
ssh-keygen
cat ~/.ssh/id_rsa.pub
crontab -l
date
top
tail -f /var/log/full_backup.log
crontab -l
ls -la /run/backupfiles
date
top
date
top
ps ax | grep dupl
tail -f /var/log/full_backup.log
mc
ln -s `pwd`/2020_03_28 current
crontab -e
date
top
tail -f /var/log/full_backup.log
crontab -l
ps ax | grep dupl
flock -x -w 10 /run/backupfiles nice -n20 ionice -c3 /usr/local/sbin/backupfiles
ln -s `pwd`/2020_03_28
crontab -e
date
ln -s `pwd`/2020_03_28 current
tail -f /var/log/full_backup.log
ps ax | grep dupli
ssh epik@88.214.194.98
ps ax | grep dupli
ssh epik@88.214.194.98
ps ax | grep dupli
tail -f /var/log/full_backup.log
ln -s `pwd`/2020_03_28 current
crontab -e
dat
date
tail -f /var/log/full_backup.log
ps ax | grep duplicity
/usr/bin/duplicity --full-if-older-than 1M --exclude /swap* --exclude /mnt/* --exclude /tmp/* --exclude /proc/* --exclude /sys/* --exclude /tmp/* --exclude /var/lib/mysql/* --exclude /run/* --exclude /var/lib/lxcfs/* / scp://epik@88.214.194.98/mfs/clients/epik/servers/50b583d387b2db7a7b49db0295f499fb2ccedb35/epik.com/
cat /usr/local/sbin/backupfiles
PASSPHRASE='lG3RZBx4-zYt=MxZ;fWq0hMT52'
export PASSPHRASE
duplicity --full-if-older-than 1M --exclude '/swap*' --exclude '/mnt/*' --exclude '/tmp/*' --exclude '/proc/*' --exclude '/sys/*' --exclude '/tmp/*' --exclude '/var/lib/mysql/*' --exclude '/run/*' --exclude '/var/lib/lxcfs/*' / scp://epik@88.214.194.98/mfs/clients/epik/servers/50b583d387b2db7a7b49db0295f499fb2ccedb35/epik.com/
tail -f /var/log/full_backup.log
duplicity --full-if-older-than 1M --exclude '/swap*' --exclude '/mnt/*' --exclude '/tmp/*' --exclude '/proc/*' --exclude '/sys/*' --exclude '/tmp/*' --exclude '/var/lib/mysql/*' --exclude '/run/*' --exclude '/var/lib/lxcfs/*' / scp://epik@88.214.194.98/mfs/clients/epik/servers/50b583d387b2db7a7b49db0295f499fb2ccedb35/epik.com/
duplicity --full-if-older-than 1M --exclude '/swap*' --exclude '/mnt/*' --exclude '/tmp/*' --exclude '/proc/*' --exclude '/sys/*' --exclude '/tmp/*' --exclude '/var/lib/mysql/*' --exclude '/run/*' --exclude '/var/lib/lxcfs/*' / rsync://epik@88.214.194.98/mfs/clients/epik/servers/50b583d387b2db7a7b49db0295f499fb2ccedb35/epik.com/
duplicity --full-if-older-than 1M --exclude '/swap*' --exclude '/mnt/*' --exclude '/tmp/*' --exclude '/proc/*' --exclude '/sys/*' --exclude '/tmp/*' --exclude '/var/lib/mysql/*' --exclude '/run/*' --exclude '/var/lib/lxcfs/*' / scp://epik@88.214.194.98/mfs/clients/epik/servers/50b583d387b2db7a7b49db0295f499fb2ccedb35/epik.com/
ln -s `pwd`/2020_03_28 current
crontab -e
date
top
tail -f /var/log/full_backup.log
top
mc
screen
df
top
less /var/log/full_backup.log
top
top
tail -f /var/log/full_backup.log
less /var/log/full_backup.log
df
mc
less credentials.ini
mysql -p
mysql --version
mysql -p
cd /home/marketplace
sudo -s -u marketplace -H
apt-get install php-bcmath php-intl
sudo -s -u marketplace -H
aptitude
apt-get install php7.1-bcmath php7.1-intl
sudo -s -u marketplace -H
apt-get install php7.1-pcre php7.1-openssl php7.1-pcre
apt-get install php-pcre php-openssl php-pcre
sudo -s -u accuscore -H
sudo -s -u anonymize -H
sudo -s -u vpn.anonymize.com -H
apt-get update
aptitude safe-upgrade
mc
tail -f /var/log/apache2/epik.com.access.log
tail -f /var/log/apache2/epik.com.access.log | grep 144
mv default-tld.php default-tld.php1
mv default-tld.php1 default-tld.php
mv index.php index.php1
mv index.php1 index.php
vim .htaccess
grep /promos default-tld.php
cp default-tld.php default-tld.php.orig
vi default-tld.php
vi ../.htaccess
cp .htaccess .htaccess.orig
vi .htaccess
grep -rli "Request::prm('tld')" .
cp ../.htaccess ../.htaccess1
mv ../.htaccess ../.htaccess.old
mv ../.htaccess.old ../.htaccess
vi .htaccess
tail -f /var/log/apache2/epik.com.access.log | grep 144
mv index.php index.php1
mv index.php1 index.php
grep -rl 'Domains Registration promo' .
vim ./includes/base.php
grep -rl 'Domains Registration promo' .
vim ./includes/base.php
vim ../includes/base.php
vim ./includes/base.php
tail -f /var/log/apache2/epik.com.access.log | grep 144
tail -f /var/log/apache2/epik.com.access.log | grep 144.76.33.130
mv default-tld.php default-tld.php1
mv index.php index.php1
mv index.php1 index.php
mv default-tld.php1 default-tld.php
less default-tld.php
tail -f /tmp/lidn.txt
tail -f lidn.txt
rm lidn.txt
tail -f lidn.txt
s
vim index.php
vim default-tld.php
vi index.php
vim default-tld.php
less /etc/haproxy/haproxy.cfg
cp ../.htaccess ../promos1/
ct .htaccess
cat .htaccess
touch default-tld.php
man cp
cp -pr promos promos1
mv * zzz/
service haproxy restart
mv promos1 promos2
mv * ..
rm -rf promos2
cp -rp promos promos1
mv * zzz
mv * ..
mv default-tld.php default-tld.php1
mv default-tld.php1 default-tld.php
cat promos1/.htaccess
cat promos/.htaccess
rm -rf promos1
df
cp -rp promos promos1
crontab -l
cat /usr/local/sbin/backupdbs
cat /usr/local/sbin/backupfiles
df
mc
cd / && vi epik.com.log
chown marketplace:marketplace redirssl
crontab -l
/usr/local/bin/checkmarketssl.sh 88.214.193.185
ls -la /home/marketplace/public_html/client/marketplace-portals/public/redirssl/
mkdir -p /home/marketplace/public_html/client/marketplace-portals/public/redirssl/
/usr/local/bin/checkmarketssl.sh 88.214.193.185
ls -la /home/marketplace/public_html/client/marketplace-portals/public/redirssl
cho
ls -la /home/marketplace/public_html/client/marketplace-portals/public
chown marketplace:marketplace marketplace
chown marketplace:marketplace /home/marketplace/public_html/client/marketplace-portals/public/redirssl/
chown -R marketplace:marketplace /home/marketplace/public_html/client/marketplace-portals/public/redirssl/
ls -la /home/marketplace/public_html/client/marketplace-portals/public/redirssl
top
ls -la /home/marketplace/public_html/client/marketplace-portals/public/redirssl
top
mc
crontab -l
cat /usr/local/sbin/backupfiles
crontab -l
cat /usr/local/sbin/backupfile
ls -la /usr/local/sbin/backupfile
ls -la /usr/local/sbin/backupfiles
cat /usr/local/sbin/backupfile
cat /usr/local/sbin/backupfiles
PASSPHRASE='lG3RZBx4-zYt=MxZ;fWq0hMT52'
duplicity collection-status
duplicity collection-status scp://epik@88.214.194.98/mfs/clients/epik/servers/50b583d387b2db7a7b49db0295f499fb2ccedb35/epik.com/
top
mc
top
dmesg
top
nload
apt-get install nload
ip a
nload eno1
top
mc
grep -rl 108 .
dig registrr-old.epik.com
dig registrar-old.epik.com
grep -rl 204.62.12.108 .
vim ./includes/config.inc.php
telnet 204.62.12.110 3307
ip a
telnet 204.62.12.110 3307
ping 204.62.12.110
telnet 204.62.12.110 80
mc
top
service apache2 restart
top
ss
ss | grep http
ss | grep http | wc -l
top
dmesg
mc
top
wget https://raw.github.com/gusmaskowitz/apachebuddy.pl/master/apachebuddy.pl
perl apachebuddy.pl
wget https://raw.github.com/gusmaskowitz/apachetuner/master/apachetuner.sh
sh apachetuner.sh
# curl -sL https://raw.githubusercontent.com/richardforth/apache2buddy/master/apache2buddy.pl | perl
cd /etc/apache2/
grep MaxRequestWorkers
grep -r MaxRequestWorkers
# curl -sL https://raw.githubusercontent.com/richardforth/apache2buddy/master/apache2buddy.pl | perl
dig @45.83.84.2 epik.com
dig @91.149.194.11 epik.com A
whois officetarget.com
ping dns1.cdn.officetarget.com
ping ns2.cdn.indexbizz.com
ping ns1.cdn.indexbizz.com
whois ns1.cdn.indexbizz.com
whois ns2.cdn.indexbizz.com
mysql
mysql -p
top
tail -f /var/log/apache2/error.log
curl -sL https://raw.githubusercontent.com/richardforth/apache2buddy/master/apache2buddy.pl | perl
vi /etc/apache2/mods-enabled/mpm_prefork.conf
service apache2 reload
tail -f /var/log/apache2/error.log
/etc/init.d/apache2 restart
tail -f /var/log/apache2/error.log
curl -sL https://raw.githubusercontent.com/richardforth/apache2buddy/master/apache2buddy.pl | perl
top