Gun Run

 is a quest in Fallout 4.

Detailed walkthrough
As you approach Rook House in Salem, you can see a man standing on the roof of a house, which is surrounded by mirelurks. The lurks will attack you. After they are defeated, get closer and Barney Rook will speak to you and invite you to enter the compound. Go to the basement- Barney seems to have no more dialogue while on the roof.

If Barney Rook is dead when you first approach, as frequently seems to be the case: Prior to killing the mirelurks, you can enter in console ~:

prid ff000ce4 (or ff000af3, this seems to vary)

hit enter and then write

recycleactor ff000ce4 (or ff000af3)

hit enter.

If you already killed the mirelurks, go to his body (you may need to jump the fence), go into console ~, select the body. The id given above should appear. Then type:

resurrect

hit enter and then write

setstage DN083_Barney 15

hit enter.

Barney will speak to you, continuing the quest. In either case, he will ask you to reactivate several turrets located throughout the town. To do so, you must enter Barney's password in the terminals. As he warned you, you will find mirelurks along the way. Already activated turrets don't seem to be of any help against them.

Return to Barney and he will give you a reward: Reba II, a special sniper rifle.

If you choose not to resurrect Barney when you find him dead, you can loot his body for the basement key and get Reba II (and Reba, his original sniper rifle). However, this will result in the unfinished quest getting stuck in your Pip-boy data.