ALERT!
Click here to register with a few steps and explore all our cool stuff we have to offer!
Home
Upgrade
Credits
Help
Search
Awards
Achievements
 5303

[NEED HELP]Booter .C Script Error (pthread_create Error) Centos 7.10

by JeffDev - 06-15-2019 - 03:48 PM
#1
Hey Community, could someone help me with something?
When i try to Compile a .C Booter Script thrue "gcc -pthread -o scriptname scriptname.c" it Compiles but when i wanna test it, it brings "segmantation fault".
I tried to check it thrue "cc scriptname.c" and it brings " In function `main':
scriptname.c:(.text+0x98a): undefined reference to `pthread_create'
collect2: error: ld returned 1 exit status"
So does someone know how i could fix that? Tried a few Scripts, all the same Problem, only Scripts without secound Threads r working.
Here is an Example of a Script what wont Work:
https://pastebin.com/SK5KVbyA

- If someone could help me i would appreciate it! :)
Reply
#2
works for me
[Image: aac57bef4b2e4ef82cea127f1bb950a5.png]
Reply
#3
(06-15-2019 - 03:53 PM)EVX Wrote: works for me
[Image: aac57bef4b2e4ef82cea127f1bb950a5.png]
what did u put in the list.txt?
Reply
#4
(06-15-2019 - 04:17 PM)JeffDev Wrote:
(06-15-2019 - 03:53 PM)EVX Wrote: works for me
[Image: aac57bef4b2e4ef82cea127f1bb950a5.png]
what did u put in the list.txt?

You have to scan lists.
Reply
#5
(06-15-2019 - 03:53 PM)EVX Wrote: works for me
[Image: aac57bef4b2e4ef82cea127f1bb950a5.png]

[root@localhost ~]# gcc -pthread -o chargen chargen.c
[root@localhost ~]# ./chargen 92.210.63.202 80 boot.txt 1 -1 10
Setting up sockets...
Segmentation fault


still, maybe cuz u got something in the .txt?
Reply
#6
you can find lists like here https://pastebin.com/BJc0ryhE or scan your own tho i would say scan your own
Reply
#7
(06-15-2019 - 04:19 PM)Pcant-xKoVx Wrote:
(06-15-2019 - 04:17 PM)JeffDev Wrote:
(06-15-2019 - 03:53 PM)EVX Wrote: works for me
[Image: aac57bef4b2e4ef82cea127f1bb950a5.png]
what did u put in the list.txt?

You have to scan lists.

Lists of? how? :O

would that fix my error?
-- [root@localhost ~]# gcc -pthread -o chargen chargen.c
[root@localhost ~]# ./chargen 92.210.63.202 80 boot.txt 1 -1 10
Setting up sockets...
Segmentation fault
Reply
#8
get a list and change to centos 6 i also before had issues with 7
Reply
#9
(06-15-2019 - 04:21 PM)EVX Wrote: you can find lists like here https://pastebin.com/BJc0ryhE or scan your own tho i would say scan your own

how could i scan suh of list`? something simillar to "bot scanning" for botnets?

sry i know noobie questions but i normally used perl scripts and now im trying to understand .c scripts
Reply
#10
https://pastebin.com/5VVSHXYD chargen scanner
Reply

Users browsing: 1 Guest(s)