Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gem modifications #2

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Net: 192.168.0.0 Iface: en0
2.3.0 :001 >
```

Once you're a this point, you're in an IRB (aka: [REPL](https://en.wikipedia.org/wiki/Read%E2%80%93eval%E2%80%93print_loop)) interface when you can start creating and injection packets with PacketFu.
Once you're at this point, you're in an IRB (aka:[REPL](https://en.wikipedia.org/wiki/Read%E2%80%93eval%E2%80%93print_loop)) interface when you can start creating and injection packets with PacketFu6.

Here's an example of creating a TCPPacket and sending it out on the wire:

Expand Down Expand Up @@ -126,7 +126,7 @@ To checkout the current build status for these rubies, click [here](https://trav

PacketFu6 is maintained primarily by Dimitris Grigoriou [email protected]
with help from [Decrypto](https://github.com/decrypto-org).
The initial authors os PacketFu are Tod Beardsley [email protected] and Jonathan
The initial authors of PacketFu are Tod Beardsley [email protected] and Jonathan
Claudius [email protected].

See [LICENSE](https://github.com/decrypto-org/packetfu6/blob/master/LICENSE.txt) for licensing details.
30 changes: 15 additions & 15 deletions examples/packetfu-shell.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,21 @@ def arp(arg)
#
def packetfu_ascii_art
puts <<EOM
_______ _______ _______ _ _______ _________ _______
( ____ )( ___ )( ____ \\| \\ /\\( ____ \\\\__ __/( ____ \\|\\ /|
| ( )|| ( ) || ( \\/| \\ / /| ( \\/ ) ( | ( \\/| ) ( |
| (____)|| (___) || | | (_/ / | (__ | | | (__ | | | |
| _____)| ___ || | | _ ( | __) | | | __) | | | |
| ( | ( ) || | | ( \\ \\ | ( | | | ( | | | |
| ) | ) ( || (____/\\| / \\ \\| (____/\\ | | | ) | (___) |
|/ |/ \\|(_______/|_/ \\/(_______/ )_( |/ (_______)
____________________________ ____________________________
( ) ( )
| 01000001 00101101 01001000 )( )( )( )( )( 00101101 01000001 00100001 |
| )( )( )( )( )( |
(____________________________) (____________________________)
PacketFu
a mid-level packet manipulation library for ruby
_______ _______ _______ _ _______ _________ _______ ______
( ____ )( ___ )( ____ \\| \\ /\\( ____ \\\\__ __/( ____ \\|\\ /|( ____)
| ( )|| ( ) || ( \\/| \\ / /| ( \\/ ) ( | ( \\/| ) ( || (
| (____)|| (___) || | | (_/ / | (__ | | | (__ | | | || (____
| _____)| ___ || | | _ ( | __) | | | __) | | | || (__ |
| ( | ( ) || | | ( \\ \\ | ( | | | ( | | | || ( ) |
| ) | ) ( || (____/\\| / \\ \\| (____/\\ | | | ) | (___) || (__) |
|/ |/ \\|(_______/|_/ \\/(_______/ )_( |/ (_______)(______)
________________________________ ________________________________
( ) ( )
| 01000001 00101101 01001000 )( )( )( )( )( 00101101 01000001 00100001 |
| )( )( )( )( )( |
(________________________________) (________________________________)
PacketFu
a mid-level packet manipulation library for ruby

EOM
end
Expand Down
21 changes: 0 additions & 21 deletions gem-public_cert.pem

This file was deleted.

2 changes: 1 addition & 1 deletion lib/packetfu/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
module PacketFu

# Check the repo's for version release histories
VERSION = "1.1.13.pre"
VERSION = "1.1.0"

# Returns PacketFu::VERSION
def self.version
Expand Down
19 changes: 6 additions & 13 deletions packetfu.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ require 'rake'
require './lib/packetfu/version'

Gem::Specification.new do |s|
s.name = 'packetfu'
s.name = 'packetfu6'
s.version = PacketFu::VERSION
s.authors = ['Tod Beardsley', 'Jonathan Claudius']
s.email = ['[email protected]', '[email protected]']
s.summary = 'PacketFu is a mid-level packet manipulation library.'
s.homepage = 'https://github.com/packetfu/packetfu'
s.authors = ['Dimitris Grigoriou','Tod Beardsley', 'Jonathan Claudius']
s.email = ['[email protected]', '[email protected]', '[email protected]']
s.summary = 'PacketFu6 is a mid-level packet manipulation library.'
s.homepage = 'https://github.com/decrypto-org/packetfu6'
s.description = %q{
PacketFu is a mid-level packet manipulation library for Ruby. With
PacketFu6 is a mid-level packet manipulation library for Ruby. With
it, users can read, parse, and write network packets with the level of
ease and fun they expect from Ruby.
}
Expand All @@ -29,11 +29,4 @@ Gem::Specification.new do |s|
s.test_files = (s.files & (Dir['spec/**/*_spec.rb'] + Dir['test/test_*.rb']) )
s.rubyforge_project = 'packetfu'

cert = File.expand_path("~/.ssh/gem-private_key_todb.pem")

if File.exist?(cert) and File.readable?(cert)
s.signing_key = cert
s.cert_chain = ['gem-public_cert.pem']
end

end