Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8314037
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T20:41:20+00:00 2026-06-08T20:41:20+00:00

In the following few lines I will explain the trick that I am worry

  • 0

In the following few lines I will explain the trick that I am worry about, and an explanation for my exact problem

Trick :
Past I used to crack a program using fake server response

  1. Looping back the connection of the program (client) to my computer
  2. Sniffing the Login successful packet from the real server
  3. Creating a fake server (listener) that listens for a connection from the client and sends back the fake response ( that I sniffed )

But it has not been alot of time since they changed something and my trick did not work any more

(Every time i try to send some sniffed login packet the client crashes and no longer accepts the fake server responses)


Problem :
Now I am creating my own client server communication and i want to prevent my client from getting fooled by the fake server response trick (anyone can login with any username and password) and provide the best security from eavesdropper

(How to make sure that this packet came from my server and not from other fake server that just sends the sniffed login succeed packet to fool my client and login)
(In another way How to prevent the client from being fooled but a fake server (emulator))

Note : I mean by prevent not to make it 100% secure because everything can be cracked but to avoid this kind of silly things that destroys the whole project


I Hope I did not went away from the point but I just wanted to explain every single point clearly

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T20:41:22+00:00Added an answer on June 8, 2026 at 8:41 pm

    If I understand what you may be going for, using TLS is a convenient way to give confidence that the client is connecting to the right party.

    By validating the server’s certificate against the local root trusted certificates or peer trusted certificates, you can validate that the server’s certificate was issued by a “trusted” third party and that the host name being connected to is the intended party. If such a validation fails, you can prevent communication to the server.

    Of course, this is only useful if the client has not entirely been compromised.

    The following may help you a bit:

    Understanding Authentication
    Transport Layer Security

    If setup correctly, SSL can go a long way to ensure the client is connecting to the correct server. Its the same technology used to make sure you are submitting your login information to stackoverflow or gmail or most any other website. The server will send its certificate to the client. The client will take that certificate and use some math magic to make sure it was issued by one of the certificates in the machines trusted store. Embedded in that certificate is the hostname. If the hostname matches what was connected to by he client and the certificate was issued by a certificate in the trusted store then the connection will be made. Since you are trusting the entities in your trusted store to know who they issued certificates to, the servers certificate cannot be faked. However if the machine the client was running on was fully compromised they could install their own trusted certificate into he trusted store, allowing them to pretend to be the server to clients connecting from the compromised machine. Decompiling the source in this case would not allow the attacker to pretend to be the server. The simplest way for you to take advantage of SSL is to have your server run as a web service. I’m sure there are likely libraries out there that implement TLS as well.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the first few lines of a text file fx.txt with the following
I have the following regular expression with which I match a few lines. Here
I have few pages in following structure. --Project |---WebContect |----Admin/ * |----Author/ * |----Readonly/
I have a few issues with the following php functions (part of a bigger
I´ve been following StackOverflow for a few years, but rarely I needed to post
The following question was asked in one of my interview (few years back) What
I tried the following challenge: Given the first few factorials: 1! = 1 2!
I have the following code in a few activities and it reads and parses
Say i have a few fields like the following: abd738927 jaksm234234 hfk342 ndma0834 jon99322
I've got a few queries (20+) which all return the following three columns: Building

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.