LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-17-2015, 11:48 AM   #16
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,921

Rep: Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690

Quote:
Originally Posted by loadedmind View Post
So, guilty until proven innocent? OP didn't mention his motives. Do folks have to provide that information before we can help them?
You are trying to spin this...please don't. NO ONE is saying the OP is guilty of ANYTHING, nor that their motives aren't good. The ONLY thing at issue is liability to this website, *IF* such help is given, and the OP uses that information for something bad. Can I show you how to pick locks? You bet..WILL I, if I don't know you? Nope...sorry.

No one is keeping the OP from reading the documentation on either of those programs...no one is saying those programs aren't useful, that you can't learn from them, nor that they can be used for legitimate purposes. No one is keeping the OP from reading any of the bash scripting tutorials, and some things (like timeout) were already provided to help the OP along. Even *IF* folks provide their motives up front, the chances of people helping are still going to be slim, because NO ONE HERE CAN REALLY KNOW if they're telling the truth.

To put it in different context...if the OP were to post asking for help sending out 500,000 emails a day, there aren't many people who wouldn't assume they were spammers, and they'd probably not get help either. COULD they be legit? Sure...and no one is keeping them from learning how to configure a big mail system. No one is going to turn them away for a SPECIFIC question ("I'm seeing xxx in the logs when I have all caps in the address, and the mail is not going. Any advice?"). And there is NOTHING illegal about spam email, although it is sleazy.
 
Old 04-17-2015, 12:08 PM   #17
loadedmind
Member
 
Registered: Sep 2003
Location: Texas
Distribution: Red Hat/CentOS
Posts: 290
Blog Entries: 1

Rep: Reputation: Disabled
Ok, so I'm guessing it simply boils down to this particular site's rules governing what information is considered allowed. I can respect that, despite its ridiculous nature.

When I think of this whole thing, it reminds me of those cops that ask for papers, despite their lack of reasonable articulable suspicion. Upon requesting why the cops want that info, they say, "We don't KNOW what your intentions are. We don't know if you're a convicted felon or not. That's why we're asking for your papers".
 
Old 04-17-2015, 12:11 PM   #18
budasouljah
LQ Newbie
 
Registered: Apr 2015
Posts: 5

Original Poster
Rep: Reputation: Disabled
Just to clarify, I am computer hardware specialist that is just getting into cli,linux and software, I am a complete noob at the before mentioned topics, however all these tests are being done on my own private lab and I dont wish to hack anyone simply to test my own network security.
 
Old 04-17-2015, 12:32 PM   #19
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 476Reputation: 476Reputation: 476Reputation: 476Reputation: 476
So now that you clarified could you please let us know what you have tried so far? Quite impressive that you are moving from being hardware specialist directly to penetration testing.
 
Old 04-17-2015, 12:43 PM   #20
rtmistler
Moderator
 
Registered: Mar 2011
Location: Sutton, MA. USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu
Posts: 4,087
Blog Entries: 10

Rep: Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521
Quote:
Originally Posted by budasouljah View Post
Thanks guys for your help.
The truth is I need to read up more on this. I have no Idea where to start and how the syntax would go.
Read up more on what topic? Scripting itself? Please see the links in my signature for information about BASH scripting. My tired statement is that anything one does in a command line can be scripted. So those earlier commands and the timing options you need to accomplish, I feel you can do those with a BASH script, and it sounds like for now you need to start with learning something about BASH scripting to proceed any further.

And I do see your later update where you say you're doing this for testing.

OK do you feel that reading about BASH scripting is the right choice? Have you attempted any scripts as yet? Or are researching how to start some?
 
Old 04-17-2015, 08:39 PM   #21
budasouljah
LQ Newbie
 
Registered: Apr 2015
Posts: 5

Original Poster
Rep: Reputation: Disabled
Hey guys, I just want to apologize for all the confusion I have caused here. It was not my intention.
The thing is that I cant make a decent paycheck in Hardware, I can solder 400 pin fpga chip with one hand better than a pick and place and a reflow oven, I pioneered BGA reworks here in Brazil, The first iPhone Hardware unlock in Brazil was done me, but there is no money in it. Then I read up up on pentesting and Network Security audits and saw how profitable it could be, so thats what struck my interest.
I did some basic reading of python and completed simple tuts but nothing intersting.

I am completely lost on the syntax of the script I want to make, but this is what I have thought of.

def reaver()
return reaver -i mon0 -c x -b "xx:xx:xx:xx" -a -vv sleep 1m

def airodump-ng()
return airodump-ng -i mon0 sleep 1m

reaver()

airodump-ng()

while loop

Last edited by budasouljah; 04-17-2015 at 08:41 PM.
 
Old 04-17-2015, 08:44 PM   #22
budasouljah
LQ Newbie
 
Registered: Apr 2015
Posts: 5

Original Poster
Rep: Reputation: Disabled
and the cool thing about me understanding how to write this script is because I know what I want it do so that would help alot with the understanding of scripting in general. In alot of the tuts they tell you whats supposed to happen and show you, but when you wanna start writing your own you kinda dont know where to start.
 
Old 04-17-2015, 11:50 PM   #23
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Arch
Posts: 3,013

Rep: Reputation: 1225Reputation: 1225Reputation: 1225Reputation: 1225Reputation: 1225Reputation: 1225Reputation: 1225Reputation: 1225Reputation: 1225
Quote:
I did some basic reading of python and completed simple tuts but nothing intersting.

I am completely lost on the syntax of the script I want to make, but this is what I have thought of.

def reaver()
return reaver -i mon0 -c x -b "xx:xx:xx:xx" -a -vv sleep 1m
...
while loop
That looks like a mix between shell and python syntax. So wrong for both. For bash see the Bash Reference Manual, specifically:
Shell Functions
Looping Constructs
For python, see https://docs.python.org/, specifically:
Function Definitions
The while statement
Subprocesses
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
help in shell/bash script yashvanth Linux - Newbie 13 03-26-2012 09:10 AM
Calling a bash shell script from within another script dedman Linux - Software 7 04-24-2010 09:53 PM
in bash shell how to run shell script during startup rammohan04 Red Hat 2 07-31-2009 03:07 AM
Bash shell script moodupani Linux - General 2 09-01-2005 07:14 AM
Bash Shell script bd1308 Linux - Hardware 9 08-22-2005 06:38 PM


All times are GMT -5. The time now is 09:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration