Categories > Coding > Lua >

[REQ] send raw data to an IP/Port using synapse x

Posts: 150

Threads: 9

Joined: Feb, 2022

Reputation: -34

Posted

So lets say I have this server and for now lets say the ip is 1.1.1.1:27001

How would i send raw data to that IP & Port TCP style

 

found out you can do http:// before it but i still have the issue where it doesnt send raw data

https://i.imgur.com/W5iMTH3.png

 

also what i exactly want to do is send raw JSON to my serverat the set port aswell as get the responses which is also raw json

 

it posts something like this:

POST / HTTP/1.1
Host: removed
Accept: */*
Cookie:
Syn-Fingerprint: removed
Syn-User-Identifier: removed
User-Agent: synx/v2.17.1
Content-Length: 4
Content-Type: application/x-www-form-urlencoded

test

 

but i want it to send something like this:

{"Status":"REQUEST_AUTH"}

 

from what i see from the documentation it is not possible unless its some kind of hidden function because request wont cut it

I would also like to say websockets has the same issue as it sends syn.request get requests with websocket secrets

 

https://i.imgur.com/hd7REtf.png
The top two are what my C# tcp client requests look like and the one under it is what request looks like (Which is not what I want)

 

https://devforum.roblox.com/t/how-do-send-a-tcp-packet-from-roblox/1754848/3

  • 0

novaline ontop

 

Executors I own: Synapse X, Asshurt/Sirhurt, Scriptware, Novaline

pepsi

PePsIDeveloper

vip

Posts: 309

Threads: 6

Joined: Apr, 2021

Reputation: 13

Replied

POST / HTTP/1.1
Host: removed
Accept: */*
Cookie:
Syn-Fingerprint: removed
Syn-User-Identifier: removed
User-Agent: synx/v2.17.1
Content-Length: 4
Content-Type: application/x-www-form-urlencoded

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

That is all request data and normal...

vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv

this part is data sent so you sent test so test would show up here.
  • 0

https://cdn.discordapp.com/attachments/661621789591470090/1013919752294498314/Untitled_1366_768_px_1546_202_px_2.gif

Posts: 150

Threads: 9

Joined: Feb, 2022

Reputation: -34

Replied

@pepsi using C# TCP clients you can send completely raw data thats what i want to do i dont want to post or get

  • 0

novaline ontop

 

Executors I own: Synapse X, Asshurt/Sirhurt, Scriptware, Novaline

pepsi

PePsIDeveloper

vip

Posts: 309

Threads: 6

Joined: Apr, 2021

Reputation: 13

Replied

That data u seen is called request headers... Those are there for a reason and can be used. And if you want to send "{"Status":"REQUEST_AUTH"}

" then just put that in the body.

  • 0

https://cdn.discordapp.com/attachments/661621789591470090/1013919752294498314/Untitled_1366_768_px_1546_202_px_2.gif

Posts: 150

Threads: 9

Joined: Feb, 2022

Reputation: -34

Replied

@pepsi Like I said before I want to do it TCP style I know for a fact their not needed please read it before answering with something i didnt ask for

 

https://i.imgur.com/hd7REtf.png

the top two json lines are my TCP client requests and the bottom one is the synapse one which is NOT what im asking for

  • 0

novaline ontop

 

Executors I own: Synapse X, Asshurt/Sirhurt, Scriptware, Novaline

pepsi

PePsIDeveloper

vip

Posts: 309

Threads: 6

Joined: Apr, 2021

Reputation: 13

Replied

@YeemiRouth the request headers are made by synapse it self / sent by synapse you cant change it unless you dont write to console the data. 

  • 0

https://cdn.discordapp.com/attachments/661621789591470090/1013919752294498314/Untitled_1366_768_px_1546_202_px_2.gif

Posts: 150

Threads: 9

Joined: Feb, 2022

Reputation: -34

Replied

@pepsi You either say its possible or say its not possible using synapse

I already said in this thread that Im pretty sure you cant change them so im assuming its not possible

  • 0

novaline ontop

 

Executors I own: Synapse X, Asshurt/Sirhurt, Scriptware, Novaline

pepsi

PePsIDeveloper

vip

Posts: 309

Threads: 6

Joined: Apr, 2021

Reputation: 13

Replied

@75089Sorry but i didn't see your msg my wrd didn't refresh.

  • 0

https://cdn.discordapp.com/attachments/661621789591470090/1013919752294498314/Untitled_1366_768_px_1546_202_px_2.gif

Posts: 150

Threads: 9

Joined: Feb, 2022

Reputation: -34

Replied

@pepsi Oh sure sorry then lol

  • 0

novaline ontop

 

Executors I own: Synapse X, Asshurt/Sirhurt, Scriptware, Novaline

Posts: 1990

Threads: 198

Joined: Apr, 2021

Reputation: 13

Replied

Are you hosting this on your local PC? If so, how did you do that the IP is visible and it can get requests?

And my last question, what are you using for receiving requests or posts?

  • 0

Random quote here...

Posts: 150

Threads: 9

Joined: Feb, 2022

Reputation: -34

Replied

@VoidableMethod I hid everything so you cant see anything important its using tunnel;ing and the server works fien I have a C# client and my friends have helped me test it so please focus on the actual question (I've shown that the server gets the data in screenshots so this is mostly aimed at you not properly looking at it)

  • 0

Added

@_realnickk idky they wont let u create/use TCP clients as i dont see any security issues with doing so

  • 0

novaline ontop

 

Executors I own: Synapse X, Asshurt/Sirhurt, Scriptware, Novaline

Users viewing this thread:

( Members: 0, Guests: 1, Total: 1 )