Jump to content

Network Spoffer In Linux Permissions


vdub
 Share

Recommended Posts

I am following this how to.

http://tech-ape.com/wp-content/uploads/2012/06/NSReverseEngineering-WordPress.html

The problem it was written for Ubuntu and I cant get the permissions right.

In this section

groupadd -g 3003 aid_inet # this works

usermod -aG aid_inet proxy # usermod does not have -a option and I have no proxy group ????

#Make an images directory for storage

mkdir -p /var/www/images # this works think god, lol.

chown proxy:proxy /var/www/images # I have no user or group named proxy

usermod -aG proxy www-data # agian no user proxy and no -a option in usermod

usermod -aG www-data proxy # " " " " " " " " " " " " " " " " " " " " " " " "

I have no proxy user. I am at a loss as to how to make this work. I have the arp poisoning working but all the images just give 403 - Forbidden errors. All the images in the www directory are owned by squid and I can't even view them on the machine. If I chmod the files I can view them and can see that they have been flipped.

Any help would be greatly appreciated. This would work perfect if I could just give the files in the images directory 777 permissions. However squid will not allow me to tell it what permissions I want to use. However, the files are downloaded with wget so I am not sure where the owner is coming from.

Edited by vdub
Link to comment
Share on other sites

Figured it out.

In the squid.conf change umask to 022 should give you 644, by default its 027 making the permissions 600. This is why I was getting the 403's.

post-39670-0-00348700-1339048606_thumb.p

Edited by vdub
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...