-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathForm1.frm
1325 lines (1107 loc) · 40.2 KB
/
Form1.frm
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
VERSION 5.00
Object = "{48E59290-9880-11CF-9754-00AA00C00908}#1.0#0"; "MSINET.OCX"
Begin VB.Form Form1
BackColor = &H004C4C4C&
BorderStyle = 1 'Fixed Single
Caption = "Robate POST de Taringa"
ClientHeight = 7155
ClientLeft = 45
ClientTop = 435
ClientWidth = 9285
Icon = "Form1.frx":0000
LinkTopic = "Form1"
LockControls = -1 'True
MaxButton = 0 'False
Moveable = 0 'False
Picture = "Form1.frx":038A
ScaleHeight = 7155
ScaleWidth = 9285
StartUpPosition = 2 'CenterScreen
Begin VB.CommandButton User_pass_buton
Caption = "User Pass"
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 330
Left = 4725
TabIndex = 28
Top = 3585
Width = 1215
End
Begin VB.CheckBox Tagcheck
Caption = "Descargar Tag"
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00800000&
Height = 495
Left = 6300
TabIndex = 26
Top = 3495
Width = 1905
End
Begin VB.CommandButton Command2
BackColor = &H80000005&
Caption = "STOP"
Height = 675
Left = 4395
TabIndex = 25
Top = 195
Visible = 0 'False
Width = 615
End
Begin VB.OptionButton Option1
Caption = "Ataque de un solo Post"
Height = 570
Index = 1
Left = 1830
Style = 1 'Graphical
TabIndex = 18
Top = 1920
Width = 1560
End
Begin VB.OptionButton Option1
Caption = "Ataque masivo"
Height = 570
Index = 0
Left = 540
Style = 1 'Graphical
TabIndex = 16
Top = 1920
Value = -1 'True
Width = 1290
End
Begin VB.Frame Frame
Height = 1665
Index = 1
Left = 547
TabIndex = 21
Top = 2370
Visible = 0 'False
Width = 8190
Begin VB.TextBox Text6
Height = 315
Left = 195
TabIndex = 22
Text = "/posts/downloads/1905629/lo-que-sea.html Esto es un Ejemplo"
Top = 780
Width = 7380
End
Begin VB.Label Label10
AutoSize = -1 'True
Caption = "Dirección URL"
ForeColor = &H000000FF&
Height = 195
Left = 5250
TabIndex = 24
Top = 270
Width = 1050
End
Begin VB.Line Line3
BorderColor = &H00C00000&
X1 = 3795
X2 = 3795
Y1 = 375
Y2 = 540
End
Begin VB.Line Line2
BorderColor = &H00C00000&
X1 = 7635
X2 = 7635
Y1 = 375
Y2 = 540
End
Begin VB.Line Line1
BorderColor = &H00C00000&
X1 = 3795
X2 = 7650
Y1 = 360
Y2 = 360
End
Begin VB.Label Label9
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Especifique la dirección del Post Ejemplo: /posts/downloads/1905629/lo-que-sea.html"
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 195
Left = 195
TabIndex = 23
Top = 540
Width = 7380
End
End
Begin VB.ComboBox Combo1
Height = 315
ItemData = "Form1.frx":68CC
Left = 7020
List = "Form1.frx":68D6
Style = 2 'Dropdown List
TabIndex = 14
Top = 1905
Width = 1725
End
Begin VB.TextBox Text5
Height = 285
Left = 150
TabIndex = 11
Text = "60"
Top = 735
Width = 2130
End
Begin VB.PictureBox Picture2
Align = 2 'Align Bottom
Appearance = 0 'Flat
BackColor = &H80000005&
BorderStyle = 0 'None
ForeColor = &H80000008&
Height = 765
Left = 0
ScaleHeight = 765
ScaleWidth = 9285
TabIndex = 7
Top = 6390
Width = 9285
Begin VB.Label Label2
BackColor = &H00FFFFFF&
Caption = "INFO: -NONE-"
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 660
Left = 45
TabIndex = 8
Top = 45
Width = 8700
WordWrap = -1 'True
End
End
Begin VB.PictureBox Picture1
Align = 2 'Align Bottom
Appearance = 0 'Flat
BackColor = &H80000005&
BorderStyle = 0 'None
ForeColor = &H80000008&
Height = 555
Left = 0
ScaleHeight = 555
ScaleWidth = 9285
TabIndex = 5
Top = 5835
Width = 9285
Begin VB.Label Label1
BackColor = &H00FFFFFF&
Caption = "POST: -NONE-"
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 390
Left = 45
TabIndex = 6
Top = 45
Width = 8700
WordWrap = -1 'True
End
End
Begin VB.CommandButton Command1
BackColor = &H80000005&
Caption = "Atacar a TARINGA CARAJOS"
Height = 675
Left = 2685
TabIndex = 0
Top = 195
Width = 1695
End
Begin VB.Timer Timer1
Interval = 1000
Left = 1875
Top = 6150
End
Begin InetCtlsObjects.Inet Inet2
Left = 1080
Top = 6015
_ExtentX = 1005
_ExtentY = 1005
_Version = 393216
AccessType = 1
URL = "http://"
End
Begin InetCtlsObjects.Inet Inet1
Left = 360
Top = 6030
_ExtentX = 1005
_ExtentY = 1005
_Version = 393216
AccessType = 1
URL = "http://"
End
Begin VB.TextBox Text4
Height = 2475
Left = 2775
MultiLine = -1 'True
ScrollBars = 3 'Both
TabIndex = 4
Top = 6120
Visible = 0 'False
Width = 2640
End
Begin VB.TextBox Text3
Height = 2475
Left = 60
MultiLine = -1 'True
ScrollBars = 3 'Both
TabIndex = 3
Top = 6120
Visible = 0 'False
Width = 2640
End
Begin VB.TextBox Text2
Height = 2475
Left = 2715
MultiLine = -1 'True
ScrollBars = 3 'Both
TabIndex = 2
Top = 6000
Visible = 0 'False
Width = 2640
End
Begin VB.TextBox Text1
Height = 2475
Left = 5685
MultiLine = -1 'True
ScrollBars = 3 'Both
TabIndex = 1
Top = 6165
Visible = 0 'False
Width = 2640
End
Begin VB.Frame Frame
Height = 1665
Index = 0
Left = 547
TabIndex = 17
Top = 2370
Width = 8190
Begin VB.TextBox Cate
Height = 315
Left = 195
TabIndex = 19
Text = "/posts/downloads/"
Top = 780
Width = 7380
End
Begin VB.Label Label6
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Especifique la categoria Ejemplo: /posts/downloads/ Exactamente igual con sus /"
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00000000&
Height = 195
Left = 195
TabIndex = 20
Top = 540
Width = 7020
End
End
Begin VB.Label Label11
Alignment = 2 'Center
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Una Venezuela Libre"
BeginProperty Font
Name = "Arial"
Size = 14.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 330
Left = 3210
TabIndex = 27
Top = 4860
Width = 2850
End
Begin VB.Image Image2
Height = 1500
Left = 4125
Picture = "Form1.frx":68EC
Top = 975
Width = 1500
End
Begin VB.Image Image1
Height = 1560
Left = 0
Picture = "Form1.frx":DE5E
Top = 4215
Width = 9285
End
Begin VB.Label Label8
Alignment = 2 'Center
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Especifique el dominio"
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
Height = 390
Left = 5895
TabIndex = 15
Top = 1860
Width = 1020
WordWrap = -1 'True
End
Begin VB.Label Label7
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "tec.web44.net"
BeginProperty Font
Name = "Arial"
Size = 24
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
Height = 555
Left = 5295
TabIndex = 13
Top = 105
Width = 3165
End
Begin VB.Label Label5
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Especifique el numero de paginas de siguiente de la lista de Post"
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
Height = 585
Left = 135
TabIndex = 12
Top = 105
Width = 2250
WordWrap = -1 'True
End
Begin VB.Label Label3
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "PAGINA: 0"
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000FF&
Height = 240
Left = 5625
TabIndex = 9
Top = 705
Width = 1095
End
Begin VB.Label Label4
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "POST REPETIDOS: 0"
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000FF&
Height = 195
Left = 5625
TabIndex = 10
Top = 990
Width = 1860
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Function UTF8_Decode(ByVal sStr As String)
Dim l As Long, sUTF8 As String, iChar As Integer, iChar2 As Integer
For l = 1 To Len(sStr)
iChar = Asc(Mid(sStr, l, 1))
If iChar > 127 Then
If Not iChar And 32 Then ' 2 chars
iChar2 = Asc(Mid(sStr, l + 1, 1))
sUTF8 = sUTF8 & ChrW$(((31 And iChar) * 64 + (63 And iChar2)))
l = l + 1
Else
Dim iChar3 As Integer
iChar2 = Asc(Mid(sStr, l + 1, 1))
iChar3 = Asc(Mid(sStr, l + 2, 1))
sUTF8 = sUTF8 & ChrW$(((iChar And 15) * 16 * 256) + ((iChar2 And 63) * 64) + (iChar3 And 63))
l = l + 2
End If
Else
sUTF8 = sUTF8 & Chr$(iChar)
End If
Next l
UTF8_Decode = sUTF8
End Function
Function FindIt_NOMBRE(TEXTO As String) As String
'Dim Fso As New Scripting.FileSystemObject
'Dim f As File
'<title>Pagina nueva 1</title>
Esperate = True
On Error Resume Next
gFindStringput = "<h1 property=" & Chr(34) & "dc:title" & Chr(34) & ">"
Dim start, pos, findstring, sourcestring, Msg, Response, Offset
Static ya As Boolean
Static ya2 As Boolean
InI:
If (gCurPos = Text4.SelStart) Then
Offset = 1
Else
Offset = 0
End If
If gFirstTime Then Offset = 0
start = 0 + Offset
If gFindCase Then
findstring = gFindStringput
sourcestring = Text4.Text
Else
findstring = gFindStringput
sourcestring = TEXTO
End If
If gFindDirection = 0 Then
pos = InStr(start + 1, sourcestring, findstring)
Else
For pos = start - 1 To 0 Step -1
If pos = 0 Then Exit For
ddd = Mid(sourcestring, pos, Len(findstring))
If Mid(sourcestring, pos, Len(findstring)) = findstring Then Exit For
Next
End If
If ya = True And Not ya2 = True Then
gFindDirection = 0
gFindString = gFindStringput
ya2 = True
GoTo InI
End If
ya2 = False
gFirstTime = False
posti = pos
pos = pos + 24
For I = 0 To Len(TEXTO) - pos
ddd = Mid(sourcestring, pos + I, 5)
If Mid(sourcestring, pos + I, 5) = "</h1>" Then
ggg = Mid(sourcestring, pos, I)
ggg = Replace(ggg, "/", "")
ggg = Replace(ggg, ":", "")
ggg = Replace(ggg, "*", "x")
ggg = Replace(ggg, "?", "")
ggg = Replace(ggg, "\", "")
ggg = Replace(ggg, "|", "")
ggg = Replace(ggg, ">", "")
ggg = Replace(ggg, "<", "")
'ggg = Replace(ggg, "+", " mas ")
ggg = Replace(ggg, Chr(34), "")
ggg = Replace(ggg, vbNewLine, "")
ggg = Replace(ggg, vbCr, "")
TITLES = ggg
FindIt_NOMBRE = ggg
Text4.Text = Replace(Text4.Text, "<h1 property=" & Chr(34) & "dc:title" & Chr(34) & ">", "<h1>")
Esperate = False
Exit For
End If
Next I
End Function
Function Limpiar(TEXTO As String) As String
Esperate = True
On Error Resume Next
gFindStringput = "<span>"
Dim start, pos, findstring, sourcestring, Msg, Response, Offset
Static ya As Boolean
Static ya2 As Boolean
InI:
If (gCurPos = Text4.SelStart) Then
Offset = 1
Else
Offset = 0
End If
If gFirstTime Then Offset = 0
start = 0 + Offset
If gFindCase Then
findstring = gFindStringput
sourcestring = Text4.Text
Else
findstring = gFindStringput
sourcestring = TEXTO
End If
If gFindDirection = 0 Then
pos = InStr(start + 1, sourcestring, findstring)
Else
For pos = start - 1 To 0 Step -1
If pos = 0 Then Exit For
ddd = Mid(sourcestring, pos, Len(findstring))
If Mid(sourcestring, pos, Len(findstring)) = findstring Then Exit For
Next
End If
If ya = True And Not ya2 = True Then
gFindDirection = 0
gFindString = gFindStringput
ya2 = True
GoTo InI
End If
ya2 = False
gFirstTime = False
Limpiar = Right(sourcestring, Len(sourcestring) - pos + 1)
End Function
Sub FindIt(TEXTO As String)
gFindStringput = "href=" & Chr(34)
Dim start, pos, findstring, sourcestring, Msg, Response, Offset
Static ya As Boolean
Static ya2 As Boolean
InI:
If (gCurPos = Text1.SelStart) Then
Offset = 1
Else
Offset = 0
End If
If gFirstTime Then Offset = 0
start = 0 + Offset
If gFindCase Then
findstring = gFindStringput
sourcestring = Text1.Text
Else
findstring = gFindStringput
sourcestring = TEXTO
End If
If gFindDirection = 0 Then
pos = InStr(start + 1, sourcestring, findstring)
Else
For pos = start - 1 To 0 Step -1
If pos = 0 Then Exit For
ddd = Mid(sourcestring, pos, Len(findstring))
If Mid(sourcestring, pos, Len(findstring)) = findstring Then Exit For
Next
End If
If ya = True And Not ya2 = True Then
gFindDirection = 0
gFindString = gFindStringput
ya2 = True
GoTo InI
End If
ya2 = False
gFirstTime = False
pos = pos + 6
For I = 0 To Len(TEXTO) - pos
If Mid(sourcestring, pos + I, 1) = Chr(34) Then
II = II + 1
If Combo1.ListIndex = 0 Then
linea = "http://www.taringa.net" & Mid(sourcestring, pos, I)
Else
linea = "http://www.poringa.net" & Mid(sourcestring, pos, I)
End If
ReDim Preserve LinesdePost(II - 1)
LinesdePost(II - 1) = linea
Exit For
End If
Next I
End Sub
Private Sub Matriz_de_Titulos_de_los_post()
On Error GoTo FIN
'Dim MiMatriz() As Integer
'ReDim Preserve MiMatriz(15)
'Text2.SelStart = 2
'MsgBox Text2.Text
Dim lineas() As String
Dim I%
lineas() = Split(Text2.Text, vbCrLf)
For I = 0 To UBound(lineas)
If Not InStr(1, lineas(I), "href=") = 0 Then
FindIt (lineas(I))
End If
Next
For I = 0 To UBound(LinesdePost)
Do While Inet2.StillExecuting
DoEvents
Loop
If StopB = False Then
Call Inet2.Execute(LinesdePost(I), "GET")
Else
StopB = False: Text5.Enabled = True: Label5.Enabled = True: Label4.Caption = "POST REPETIDOS: 0": Label3.Caption = "PAGINA: 0"
Option1(0).Value = True: Option1(1).Enabled = True: Option1(0).Enabled = True: Frame(0).Enabled = True: Frame(1).Enabled = True
Combo1.Enabled = True: Cate.Enabled = True: Command1.Caption = "Atacar a TARINGA CARAJOS": Command1.Enabled = True
Command2.Visible = False: Command2.Enabled = True: Esperate = False: numerodenagina = 0: Label3.Caption = "PAGINA: "
Text1.Text = "": Text2.Text = "": Text3.Text = "": Text4.Text = "": II = 0: existen = 0: ReDim LinesdePost(0)
Siguiente = False: Tagcheck.Enabled = True: User_pass_buton.Enabled = True: Exit Sub
End If
Next I
If Not numerodenagina >= Text5.Text Then
Siguiente = True
Else
numerodenagina = 0
Siguiente = True
End If
GoTo OK
FIN:
End
OK:
End Sub
Private Sub Sacar_post()
Esperate = True
Text4.Text = ""
Dim t() As String
Dim inicio As Boolean
t = Split(Text3.Text, vbCrLf)
For cuenta = 0 To UBound(t)
If Combo1.ListIndex = 0 Then
'inipost = "<hr />"
inipost = "<span property=" & Chr(34) & "dc:content"
Else
'inipost = "<br />"
inipost = "<span property=" & Chr(34) & "dc:content"
End If
If Not InStr(1, t(cuenta), "<!-- Cuerpo -->", vbTextCompare) = 0 Or inicio = True Or inicio2 = True Then
If InStr(1, t(cuenta), "<script", vbTextCompare) = 0 And Not inicio3 = True Then
If InStr(1, t(cuenta), "<div class=" & Chr(34) & "post-contenido" & Chr(34) & ">", vbTextCompare) = 0 And Not inicio2 = True Then
If InStr(1, t(cuenta), "<div class=" & Chr(34) & "compartir-mov" & Chr(34), vbTextCompare) = 0 Then
If InStr(1, t(cuenta), "next.php?id", vbTextCompare) = 0 And InStr(1, t(cuenta), "<a href=" & Chr(34) & "/prev.php?id=", vbTextCompare) = 0 And InStr(1, t(cuenta), "<!-- Cuerpo -->", vbTextCompare) = 0 Then
Text4.Text = Text4.Text & t(cuenta) & vbCrLf
End If
Else
Exit For
End If
inicio = True
ElseIf Not InStr(1, t(cuenta), inipost, vbTextCompare) = 0 Or Not InStr(1, t(cuenta), "<!-- Cuerpo -->", vbTextCompare) = 0 Then
inicio2 = False
Text4.Text = Text4.Text & "<span>" & vbCrLf
Else
If Not inicio2 = True Then
Text4.Text = Text4.Text & "<div>" & vbCrLf
inicio2 = True
End If
End If
Else
If Not InStr(1, t(cuenta), "</script", vbTextCompare) = 0 Then
inicio3 = False
Else
inicio3 = True
End If
End If
End If
Next cuenta
Text4.Text = Replace(Text4.Text, "á", "á")
Text4.Text = Replace(Text4.Text, "é", "é")
Text4.Text = Replace(Text4.Text, "Ã" & Chr(173), "í")
Text4.Text = Replace(Text4.Text, "ó", "ó")
Text4.Text = Replace(Text4.Text, "ú", "ú")
Text4.Text = Replace(Text4.Text, "Ã" & Chr(129), "Á")
Text4.Text = Replace(Text4.Text, "Ã", "É")
Text4.Text = Replace(Text4.Text, "Ã" & Chr(141), "Í")
Text4.Text = Replace(Text4.Text, "Ã", "Ó")
Text4.Text = Replace(Text4.Text, "Ã", "Ú")
Text4.Text = Replace(Text4.Text, "ñ", "ñ")
Text4.Text = Replace(Text4.Text, "Ã", "Ñ")
Text4.Text = Replace(Text4.Text, "ú", "º")
Text4.Text = Replace(Text4.Text, "ê", "ª")
Text4.Text = Replace(Text4.Text, "¿", "¿")
Text4.Text = Replace(Text4.Text, "®", "®")
Text4.Text = Replace(Text4.Text, "¡", "¡")
Text4.Text = Replace(Text4.Text, "â", "-")
Text4.Text = Replace(Text4.Text, "&", " y ")
Text4.Text = Replace(Text4.Text, "<div class=" & Chr(34) & "post-contenedor" & Chr(34) & ">", "<div>")
Text4.Text = Replace(Text4.Text, "<div class=" & Chr(34) & "post-title" & Chr(34) & ">", "<div>")
'Text4.Text = Replace(Text4.Text, "<div class=" & Chr(34) & "post-contenido" & Chr(34) & ">", "<div>")
Text4.Text = Replace(Text4.Text, "<!-- Cuerpo -->", "")
Text4.Text = Replace(Text4.Text, vbLf, vbCrLf)
Text4.Text = Replace(Text4.Text, "http://links.itaringa.net/out?", "")
If Tagcheck = 1 Then
Sacar_Tag_de_los_post
Text4.Text = Text4.Text & vbCrLf & Tag
Else
Text4.Text = Text4.Text
End If
Dim canalLibre As Integer
Nombre = FindIt_NOMBRE(Text4.Text)
Text4.Text = Limpiar(Text4.Text)
canalLibre = FreeFile
Label1.Caption = "POST: " & Nombre
If Len(Nombre) >= 226 Then
Nombre = Left(Nombre, 221)
End If
existeono = Dir$(App.Path & "\Taringa POST\" & Nombre & ".html")
If Not existeono = "" Then
existen = existen + 1
Label2.Caption = "INFO: " & "Ya fue bajado el POST: " & Chr(34) & Nombre & Chr(34)
Label4.Caption = "POST REPETIDOS:" & existen
no = True
End If
If Not no = True And Not Nombre = "" Then
Open App.Path & "\Taringa POST\" & Nombre & ".html" For Output As #canalLibre
dd = dd + 1
'Escribimos el contenido del TextBox al fichero
'Print #canalLibre, "<TITLE>" & Nombre & "</TITLE>" & vbCrLf & Text4 & vbCrLf
Print #canalLibre, Text4 & vbCrLf
Close #canalLibre
Esperate = False
Me.Caption = "Robate POST de Taringa -- ATACANDO... POS DESCARGADO: " & dd
Label2.Caption = "INFO: "
End If
If Option1(1).Value = True Then
MsgBox "Listo", , "Robate POST de Taringa"
Combo1.Enabled = True
Cate.Enabled = True
Option1(0).Value = False
Option1(0).Enabled = True
Option1(1).Value = True
Option1(1).Enabled = True
Command1.Enabled = True
Command1.Caption = "Atacar a TARINGA CARAJOS"
Label1.Caption = "POST: -NONE-"
Label2.Caption = "INFO: -NONE-"
Frame(0).Enabled = True
Frame(1).Enabled = True
Tagcheck.Enabled = True
User_pass_buton.Enabled = True
End If
End Sub
Private Sub Command1_Click()
Combo1.Enabled = False
Text5.Enabled = False
Cate.Enabled = False
Option1(0).Enabled = False
Option1(1).Enabled = False
Frame(0).Enabled = False
Frame(1).Enabled = False
Tagcheck.Enabled = False
User_pass_buton.Enabled = False
If Option1(0).Value = True Then
If Combo1.ListIndex = 0 Then
veriuserT1:
checkcue = checkcue + 1
If TaringaU = "" Or TaringaPas = "" Then
If checkcue = 2 Then
Text5.Enabled = True: Label5.Enabled = True: Label4.Caption = "POST REPETIDOS: 0": Label3.Caption = "PAGINA: 0"
Option1(0).Value = True: Option1(1).Enabled = True: Option1(0).Enabled = True: Frame(0).Enabled = True
Frame(1).Enabled = True: Combo1.Enabled = True: Cate.Enabled = True: Command1.Caption = "Atacar a TARINGA CARAJOS"
Command1.Enabled = True: Command2.Visible = False: Command2.Enabled = True: Esperate = False: numerodenagina = 0
Label3.Caption = "PAGINA: ": Text1.Text = "": Text2.Text = "": Text3.Text = "": Text4.Text = "": II = 0: existen = 0
ReDim LinesdePost(0): Siguiente = False: Tagcheck.Enabled = True: Exit Sub
End If
MsgBox "No a especificado la cuanta de Taringa"
Form2.Show 1
GoTo veriuserT1
Else
If Not login = True Then Call Inet2.Execute("http://www.taringa.net/login.php", "POST", "nick=" & TaringaU & "&pass=" & TaringaPas, "Content-Type: application/x-www-form-urlencoded")
Do While Inet2.StillExecuting
DoEvents
Loop
End If
Call Inet1.Execute("http://www.taringa.net" & Cate, "GET")
Command2.Visible = True
Else
veriuserP1:
checkcue = checkcue + 1
If PoringaU = "" Or PoringaPas = "" Then