I'm in the second round of interviews and my salary expectation going into the job is $XX,000 as an entry-level software developer. I am aware that most of the other workers in the company who have very similar roles as me are getting paid $XX,000 + ~$23,000 (I checked on Glassdoor.) I'm not too worried about starting off low, my goal right now is to get into a software development company. I also don't want to end up not getting hired because I requested a high pay (I'd rather get the job for a low starting pay than risk not getting the job at all).
With that said, the worst case scenario is that I come into work and after 6 months, realize that I am valued more than how much I am getting paid, but I am stuck getting paid significantly lower because of the contract I signed. What are my options in this worst case scenario?
Note: I didn't sign any contract yet, I'm still in the second round of the interview. But I'm certain one of the main reasons the company wants me right now is because have a decent skill set and good potential and want a low pay. If I increase my salary expectation right now then I'm afraid I'm going to risk not getting the job at all.
Edit: I calculated how much I need to earn in order to get through for the next few months, and I found that I can get through with earning $XX,000 / year (which is how much I said I expect). In most companies (and in the current one), a software developer or similar earns more than how much I said I expect.