Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved]active support and active record are missing
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM
View previous topic :: View next topic  
Author Message
zux0x3a
n00b
n00b


Joined: 18 Aug 2018
Posts: 37

PostPosted: Thu Dec 13, 2018 2:19 pm    Post subject: [solved]active support and active record are missing Reply with quote

Hello ,

i think there is a missing packages in gentoo distfiles (activesupport-2.4.6 - activerecord-2.4.6) these to dev-ruby are required to install metasploit because it depends on it , the bug is clear even pentoo is facing his issue .

is they are recomplied ones for these so we can use it , or any working ebuild that help the case ,
_________________
Gentoo Secploit - Best Light Penetration Testing Distribution
https://secploit.com/tools


Last edited by zux0x3a on Mon Dec 17, 2018 12:29 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30905
Location: here

PostPosted: Thu Dec 13, 2018 2:38 pm    Post subject: Reply with quote

What version of net-analyzer/metasploit? Because current versions (4.14.16-r1, 4.17.21-r3) in portage depends on
Code:
        >=dev-ruby/actionpack-4.2.6:4.2
        >=dev-ruby/activerecord-4.2.6:4.2
        >=dev-ruby/activesupport-4.2.6:4.2

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
zux0x3a
n00b
n00b


Joined: 18 Aug 2018
Posts: 37

PostPosted: Thu Dec 13, 2018 3:04 pm    Post subject: Reply with quote

fedeliallalinea

even if we emerged 4.17.21-r3 or 4.17.30 they still need these one while checking extracted files from github , not from the ebuild it self , it means metasploit files downloaded from github still need these to be installed to compile it
_________________
Gentoo Secploit - Best Light Penetration Testing Distribution
https://secploit.com/tools
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21619

PostPosted: Fri Dec 14, 2018 2:57 am    Post subject: Reply with quote

zux0x3a wrote:
fedeliallalinea

even if we emerged 4.17.21-r3 or 4.17.30 they still need these one while checking extracted files from github , not from the ebuild it self , it means metasploit files downloaded from github still need these to be installed to compile it
That sounds like a bug or design flaw in Metasploit. It should be self-contained. It should not need to download from Github.
Back to top
View user's profile Send private message
zux0x3a
n00b
n00b


Joined: 18 Aug 2018
Posts: 37

PostPosted: Fri Dec 14, 2018 8:39 am    Post subject: Reply with quote

Hu

it is okay if it is downloaded from github , but they should at least gentoo provide all requirements since these are missing metasploit the most important part for security purpose can't be installed on gentoo , and i think it can be fixed if we get the old mentioned dev-rubies

thanks
_________________
Gentoo Secploit - Best Light Penetration Testing Distribution
https://secploit.com/tools
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21619

PostPosted: Sat Dec 15, 2018 2:07 am    Post subject: Reply with quote

Why is it OK if it downloads from a service that could change or remove the files at any point? How can you reliably reproduce a Metasploit install if one of the standard steps is to pull inherently non-reproducible content?
Back to top
View user's profile Send private message
zux0x3a
n00b
n00b


Joined: 18 Aug 2018
Posts: 37

PostPosted: Sat Dec 15, 2018 9:21 am    Post subject: Reply with quote

Hu

gentoo can't make self contained as you mentioned since metasploit is under dev status and daily updated , so gentoo provide the ebuild to satisfy their requirement for installation , the only missing part is the Gem ebuild which is needed by metasploit to start , i think the fix is easy by gentoo by just providing these gem as ebuilds
i tried to fix some of it but there is more
https://github.com/lawrenceamer/secploitrepo/tree/master/dev-ruby

thanks
_________________
Gentoo Secploit - Best Light Penetration Testing Distribution
https://secploit.com/tools
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21619

PostPosted: Sat Dec 15, 2018 5:02 pm    Post subject: Reply with quote

That loops back to my earlier point. In my opinion, it is a design flaw in the upstream distribution of Metasploit that downstream distributors cannot create a self-contained offline installation package. I accept that such may be beyond the practical capabilities of the Gentoo maintainer, depending on how Metasploit does this. I disagree that it is reasonable that Metasploit handle updates in a way that makes it impractical for the Gentoo maintainer to make the installation self-contained.
Back to top
View user's profile Send private message
zux0x3a
n00b
n00b


Joined: 18 Aug 2018
Posts: 37

PostPosted: Sat Dec 15, 2018 6:11 pm    Post subject: Reply with quote

Hu

i am working on a fix for this also, and i will follow up with pentoo also hopefully to get it work again

thanks
_________________
Gentoo Secploit - Best Light Penetration Testing Distribution
https://secploit.com/tools
Back to top
View user's profile Send private message
zux0x3a
n00b
n00b


Joined: 18 Aug 2018
Posts: 37

PostPosted: Mon Dec 17, 2018 12:28 pm    Post subject: Reply with quote

the issue has been solved on arm64 running successfully with metasploit 4.21.r4 ,
https://github.com/lawrenceamer/secploitrepo/tree/master/exploitation/metasploit

after installation steps below is required :
Code:

cd /usr/lib

mv metasploit-4-17 into metasploit

then cd metasploit

gem bundle install

sed 's|git ls-files|find -type f|' -i metasploit-framework.gemspec

_________________
Gentoo Secploit - Best Light Penetration Testing Distribution
https://secploit.com/tools
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum