**Exhibit    10.54**

**THIRD      LOAN MODIFICATION AGREEMENT**

**SILICON      VALLEY BANK**
**TECHNEST      HOLDINGS, INC.**
**E-OIR      TECHNOLOGIES, INC.**
**GENEX      TECHNOLOGIES INCORPORATED**

|   | A. | Modifications                to Loan Agreement. |
|--------|----|-------------------------------------------------|

|   | 1 | The                Loan Agreement shall be amended by deleting the following definition,                appearing alphabetically in Section 13                thereof: |
|--------|---|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|

**Maturity      Date**

**Maturity      Date**

**Exhibit      A**

----

**Exhibit      A**
**Exhibit      A**
**Exhibit      A**

*[The      remainder of this page is intentionally left blank]*

----

| **BORROWER:**                                                                                                                                                                                                                                                                                                                                    | **BANK:**                                                                                                                                                                                                                                                                                                                                            |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|                                                                                                                                                                                                                                                                                                                                             |                                                                                                                                                                                                                                                                                                                                                 |
| **TECHNEST HOLDINGS,              INC.**                                                                                                                                                                                                                                                                                                         | **SILICON VALLEY              BANK**                                                                                                                                                                                                                                                                                                                 |
|                                                                                                                                                                                                                                                                                                                                             |                                                                                                                                                                                                                                                                                                                                                 |
| By: /s/ Gino M.              Pereira                                                   | By: /s/ Gage              Gilmore                                                          |
|                                                                                                                                                                                                                                                                                                                                             |                                                                                                                                                                                                                                                                                                                                                 |
| Name:__________________________________                                                                                                                                                                                                                                                                                                          | Name:________________________________                                                                                                                                                                                                                                                                                                                |
|                                                                                                                                                                                                                                                                                                                                             |                                                                                                                                                                                                                                                                                                                                                 |
| Title: Chief Financial              Officer                                                                                         | Title: Vice              President                                                    |
|                                                                                                                                                                                                                                                                                                                                             |                                                                                                                                                                                                                                                                                                                                                 |
|                                                                                                                                                                                                                                                                                                                                             |                                                                                                                                                                                                                                                                                                                                                 |
| **E-OIR TECHNOLOGIES,              INC.**                                                                                                                                                                                                                                                                                                        |                                                                                                                                                                                                                                                                                                                                                 |
|                                                                                                                                                                                                                                                                                                                                             |                                                                                                                                                                                                                                                                                                                                                 |
| By: /s/ Gino M.              Pereira                                                   |                                                                                                                                                                                                                                                                                                                                                 |
|                                                                                                                                                                                                                                                                                                                                             |                                                                                                                                                                                                                                                                                                                                                 |
| Name:__________________________________                                                                                                                                                                                                                                                                                                          |                                                                                                                                                                                                                                                                                                                                                 |
|                                                                                                                                                                                                                                                                                                                                             |                                                                                                                                                                                                                                                                                                                                                 |
| Title: Chief Financial              Officer                                                                                         |                                                                                                                                                                                                                                                                                                                                                 |
|                                                                                                                                                                                                                                                                                                                                             |                                                                                                                                                                                                                                                                                                                                                 |
|                                                                                                                                                                                                                                                                                                                                             |                                                                                                                                                                                                                                                                                                                                                 |
| **GENEX TECHNOLOGIES              INCORPORATED**                                                                                                                                                                                                                                                                                                 |                                                                                                                                                                                                                                                                                                                                                 |
|                                                                                                                                                                                                                                                                                                                                             |                                                                                                                                                                                                                                                                                                                                                 |
| By: /s/ Gino M.              Pereira                                                   |                                                                                                                                                                                                                                                                                                                                                 |
|                                                                                                                                                                                                                                                                                                                                             |                                                                                                                                                                                                                                                                                                                                                 |
| Name:__________________________________                                                                                                                                                                                                                                                                                                          |                                                                                                                                                                                                                                                                                                                                                 |
|                                                                                                                                                                                                                                                                                                                                             |                                                                                                                                                                                                                                                                                                                                                 |
| Title: Chief Financial              Officer                                                                                         |                                                                                                                                                                                                                                                                                                                                                 |

|   | **MARKLAND TECHNOLOGIES,              INC.**                                                                                                                                                                                                                                                                                                     |
|--------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|   |                                                                                                                                                                                                                                                                                                                                             |
|   | By: /s/ Gino M.              Pereira                                                   |
|   |                                                                                                                                                                                                                                                                                                                                             |
|   | Name:__________________________________                                                                                                                                                                                                                                                                                                          |
|   |                                                                                                                                                                                                                                                                                                                                             |
|   | Title: Chief Financial              Officer                                                                                         |