Navigation X
ALERT
Click here to register with a few steps and explore all our cool stuff we have to offer!



   1311

Ideas of python scripts. I'm expanding my knowledge

by Liquid_Stranger - 28 May, 2020 - 08:25 PM
This post is by a banned member (Liquid_Stranger) - Unhide
13
Posts
3
Threads
5 Years of service
#1
GIve me some ideas of interesting python programs to make. I am pretty good with python and i learning by doing. So if any of you guys have an awesome idea, share it with me and if I do it I will post it here on the forum.
Right now i am working on a python scraper that iterates through a list of IP's, checks if a specific port is open and if it is, grabs the banner. It also has functionality for printing <TITLE> tag if the port is HTTP related and there is a web interface on that port. :pepo:
This post is by a banned member (YaDude) - Unhide
YaDude  
Registered
32
Posts
1
Threads
5 Years of service
#2
Hi , i need help creating something in python. If your willing to help my discord is Randum#1889 feel free to pm me tho :)
This post is by a banned member (vesimbh) - Unhide
vesimbh  
Registered
12
Posts
0
Threads
5 Years of service
#3
I'm working on a python script that finds the GPS coordinates of any one clicking on the link, do you have any idea about that ?
This post is by a banned member (Liquid_Stranger) - Unhide
13
Posts
3
Threads
5 Years of service
#4
(29 May, 2020 - 12:42 AM)vesimbh Wrote: Show More
I'm working on a python script that finds the GPS coordinates of any one clicking on the link, do you have any idea about that ?

How about a script that grabs their IP and then checks the location? For gps coordinates im not sure it is possible in a browser, never tried!
This post is by a banned member (vesimbh) - Unhide
vesimbh  
Registered
12
Posts
0
Threads
5 Years of service
#5
It's possible for sure but still didn't find the right script, you might need to get a look on Python IP2Location.
I worked on html code that grab the GPS of the Public IP not the client location but it's something similar.

---------------------------------------------------------------------------------------------------
                            </div>
                        </div>

                        <div class="col-md-offset-1 col-md-6 pera " data-wow-offset="120" data-wow-duration="1.5s">
                            
                            <div class="container-fluid">
                                <h3>Your Geolocation Information</h3>
                                <div class="row">
                                  <div class="col-xs-4 col-sm-4">Country</div>
                                  <div class="col-xs-6 col-sm-6" id="country"></div>
                                </div>
                                <div class="row">
                                  <div class="col-xs-4 col-sm-4">State</div>
                                  <div class="col-xs-6 col-sm-6" id="state"></div>
                                </div>
                                <div class="row">
                                  <div class="col-xs-4 col-sm-4">City</div>
                                  <div class="col-xs-6 col-sm-6" id="city"></div>
                                </div>
                                <div class="row">
                                  <div class="col-xs-4 col-sm-4">Latitude</div>
                                  <div class="col-xs-6 col-sm-6" id="latitude"></div>
                                </div>
                                <div class="row">
                                  <div class="col-xs-4 col-sm-4">Longitude</div>
                                  <div class="col-xs-6 col-sm-6" id="longitude"></div>
                                </div>
                                <div class="row">
                                  <div class="col-xs-4 col-sm-4">IP</div>
                                  <div class="col-xs-6 col-sm-6" id="ipv4"></div>
                                </div>    
                            </div>
                            
                            <div class="row">
                                <div class="map" id="map2"></div>
                            </div>
                        </div>
                    </div>
                </div>
            </div> 
        </header>

        
    
        <!--
        <footer class="footer"> 
            <div class="container">
                <div class="row footer-body btn-scroll">
                    
                    
                    <div class="logo col-lg-6 col-md-6 col-sm-6 col-xs-6">
                        <a href="#" ><img src="/img/logo.png" alt="" class="img-responsive"></a>
                    </div>
                    
                    
                    <div class="top-buttom col-lg-6 col-md-6 col-sm-6 col-xs-6">
                         <a href="#header" class="btn-standard btn btn-top"><span class="glyphicon glyphicon-menu-up" aria-hidden="true"></span></a>
                    </div>

                </div>
            </div> 
        </footer>
        -->


        <!-- SCRIPTS -->
        
         
        <script src="/js/jquery.1.9.1.min.js"></script>      
        <script src="/js/bootstrap.min.js"></script>
        <script src="/js/jquery.stellar.min.js"></script>
        <script src="/js/jquery.scrollTo.min.js"></script>
        <script src="/js/jquery.localScroll.min.js"></script>
        <script src="/js/owl.carousel.min.js"></script>  
        <script src="/js/jquery.nav.js"></script>    
        <script src="/js/wow.min.js"></script>               
        <script src="/js/jquery.nicescroll.min.js"></script>
        <script src="/js/matchMedia.js"></script>
        <script src="/js/navbar.matchMedia.js"></script>
        <script src="/js/jquery.ajaxchimp.min.js"></script>
        <script src="/js/jquery.countdown.js"></script>
        <script src="/js/fancySelect.js"></script>
        <script src="/js/navbar-custom.js"></script> 



           <script>
        
            var lat, lon;
        
            $.ajax({
                url: "/jsonp",
                jsonpCallback: "callback",
                dataType: "jsonp",
                success: function(location) {
                    $('#country').html(location.country_name);
                    $('#state').html(location.state);
                    $('#city').html(location.city);
                    $('#latitude').html(location.latitude);
                    $('#longitude').html(location.longitude);
                    $('#ipv4').html(location.IPv4);
                }
            });
            
            
                      
            
            // Digits - convert 1000000 into 1.000.000
            $.fn.digits = function(){ 
                return this.each(function(){ 
                    $(this).text( $(this).text().replace(/(\d)(?=(\d\d\d)+(?!\d))/g, "$1.") ); 
                })
            }
            $.fn.undigits = function(){ 
                return this.each(function(){ 
                    $(this).text( $(this).text().replace(".", "") ); 
       
        </script>
        
        <script src="/js/custom-scripts.js"></script>
       
        
    </body>



</html>
---------------------------------------------------------------------------------------------------
This post is by a banned member (Boolean) - Unhide
Boolean  
Registered
10
Posts
0
Threads
5 Years of service
#6
(This post was last modified: 29 May, 2020 - 10:20 PM by Boolean.)
Maybe you can try making a program that gets all of the photos from a Twitter account!

 
(29 May, 2020 - 12:42 AM)vesimbh Wrote: Show More
I'm working on a python script that finds the GPS coordinates of any one clicking on the link, do you have any idea about that ?

You could try HTML Geolocation! It requires the user to approve it first. You can see more details about it here: https://www.w3schools.com/html/html5_geolocation.asp
This post is by a banned member (vesimbh) - Unhide
vesimbh  
Registered
12
Posts
0
Threads
5 Years of service
#7
(This post was last modified: 04 June, 2020 - 01:24 PM by vesimbh.)
I'm working on to skip the user permission in somehow so no need to click on allow.

Thanks

Do you have any idea how to get a log.txt that's including the latitude and longitude ?

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
or
Sign in
Already have an account? Sign in here.


Forum Jump:


Users browsing this thread: 1 Guest(s)