๑۩۞۩๑FreebuzZ๑۩۞۩๑
hi GUEST!!!!!!!!!!!

Welcome to FreeBuzz Team

Please register to have full access to the forum and be able to download stuff., stay with us..
lotfan baraye estefade az in anjoman site sabtenam konid baraye sabtenam kare shakhi lazem ni bokoni faghat miazni register sabtenam mikoni niazi be linke activate az email nis bad login mikoni
cheers
FreeBuzZ TeaM !

Bl4ck W4rning
๑۩۞۩๑FreebuzZ๑۩۞۩๑
hi GUEST!!!!!!!!!!!

Welcome to FreeBuzz Team

Please register to have full access to the forum and be able to download stuff., stay with us..
lotfan baraye estefade az in anjoman site sabtenam konid baraye sabtenam kare shakhi lazem ni bokoni faghat miazni register sabtenam mikoni niazi be linke activate az email nis bad login mikoni
cheers
FreeBuzZ TeaM !

Bl4ck W4rning
๑۩۞۩๑FreebuzZ๑۩۞۩๑
Would you like to react to this message? Create an account in a few clicks or log in to continue.

๑۩۞۩๑FreebuzZ๑۩۞۩๑

๑۩۞۩๑aTTack۩ Defece۩Code۩ Security۩ Anonymous Hackers۩ FreeBuzz Team ๑۩۞۩๑
 
HomeSearchLatest imagesRegisterLog in
Latest topics
» سلام علیک و رحمه الله...چه خبرا بچه ها؟
login to server using python Icon_minitimeby DARK Sat Apr 30, 2022 11:59 pm

» oon ghadima!!!
login to server using python Icon_minitimeby Inj3ctor Wed Aug 18, 2021 4:26 am

» need a source code of any server for university project help me for it
login to server using python Icon_minitimeby xerockss Sun Jun 09, 2019 10:28 pm

» New : Run Python based bots like Aurora, Blacksmith, VBOt in your Android Mobile
login to server using python Icon_minitimeby ltc_mkt Wed Feb 27, 2019 5:09 pm

» دوره ی اضافه کردن سکه به برنامه هایی همچون فالوور بگیر و ممبرگیر و ... (خریداری شده)
login to server using python Icon_minitimeby mr.pitza Mon Oct 01, 2018 8:10 pm

» hach any id f.a.c.e.b.o.o.k 2019
login to server using python Icon_minitimeby christian777 Sat Apr 21, 2018 4:41 am

» هديه للجميع 500 نك فلوود قديم شغالين 500 old ids flood free
login to server using python Icon_minitimeby christian777 Mon Apr 09, 2018 6:37 pm

» Freebuzz & Nimbuzz yadet bekheyr !
login to server using python Icon_minitimeby DARK Thu Apr 05, 2018 1:54 pm

» new flood 2018 فلود جديد يعمل على جميع انواع نكات لفلود القديمة والجديدة
login to server using python Icon_minitimeby christian777 Fri Oct 20, 2017 6:20 am

» STEALTH PROJECT WEB FLOOD NIMBUZZ
login to server using python Icon_minitimeby djsaim Sat Sep 30, 2017 8:51 pm

» XIO server & online bots
login to server using python Icon_minitimeby ltc_mkt Mon May 29, 2017 8:12 pm

» فریباز دوباره برمیگردد
login to server using python Icon_minitimeby Mer+sad Thu Apr 06, 2017 3:34 am

» Xio Server Updated Elite Version
login to server using python Icon_minitimeby lekshmi321 Wed Mar 29, 2017 11:35 am

» Join MulTi id nimbuzz 2016
login to server using python Icon_minitimeby sami-alarifi Mon Dec 05, 2016 3:09 am

» انجمن تیم امنیتی آنانیموس سکوریتی
login to server using python Icon_minitimeby shirsefat Thu Nov 17, 2016 6:12 pm

» Xio Server Latest Version
login to server using python Icon_minitimeby shirsefat Thu Nov 17, 2016 6:04 pm

» amooZesh kamele hack dar yek file pdf
login to server using python Icon_minitimeby shirsefat Fri Nov 11, 2016 2:23 am

» CRACKER IDS 2017 WORKING
login to server using python Icon_minitimeby abdo-osmana Sat Oct 29, 2016 1:43 am

» NEW ... ROOM ANTI CAPCHA 2017 DESTROY ROOMS V 4 BY AL-JOOOCKER@N.C
login to server using python Icon_minitimeby abdo-osmana Sat Oct 29, 2016 1:41 am

» NEW FLOOD ROOM AND PV 2017 ANTI CAPTCHA
login to server using python Icon_minitimeby abdo-osmana Sat Oct 29, 2016 1:30 am

» add new server Work 24 hours --- تحديث حسابات السيرفرات قم بــاضافه السيرفرات الجديده تعمل 24 ساعه
login to server using python Icon_minitimeby abdo-osmana Sat Oct 29, 2016 1:28 am

» new auto id maker
login to server using python Icon_minitimeby sandy_rawat Tue Oct 04, 2016 4:24 pm

» wonderful list id arbic for crucker اكبر ليستة ايملات تخمين جديدة
login to server using python Icon_minitimeby christian777 Sun Sep 25, 2016 12:59 am

» New Abdo Cobra Auto Id maker Source code working
login to server using python Icon_minitimeby Kash007 Sat Sep 24, 2016 10:26 pm

» 2000 id flood free
login to server using python Icon_minitimeby christian777 Sun Sep 18, 2016 3:54 am

» new ip address changer with crack@pishaash@n.c
login to server using python Icon_minitimeby cebecis Sat Sep 10, 2016 3:19 am

» تجسس على الخصوصية
login to server using python Icon_minitimeby majed5160 Thu Aug 25, 2016 3:26 am

» سلام دوستان من
login to server using python Icon_minitimeby majed5160 Wed Aug 24, 2016 3:10 am

» Trusted online server bots
login to server using python Icon_minitimeby bom Fri Aug 19, 2016 7:59 pm

» فلود جديد ناررررر
login to server using python Icon_minitimeby christian777 Sat Aug 13, 2016 10:12 am

» Receive Captcha in PVT C# and VB.NET source code available
login to server using python Icon_minitimeby wathk Thu Jul 28, 2016 3:01 am

» Attention nimbuzz users !
login to server using python Icon_minitimeby -namakul- Tue Jul 26, 2016 8:27 pm

» Salam man az karbqraye qadimiton hastam lotfan komakam konid :(
login to server using python Icon_minitimeby SALIJON* Sat Jul 23, 2016 6:34 pm

» Nimbuzz stylish ids for sale
login to server using python Icon_minitimeby msb Wed Jul 20, 2016 12:33 pm

» Nuke Mobileserver V9
login to server using python Icon_minitimeby launchar Tue Jul 19, 2016 1:51 pm

» help me please c sharp masters
login to server using python Icon_minitimeby launchar Tue Jul 19, 2016 1:39 pm

» salam be dostane qadimi hamgi join bedin bebinm kojain :P
login to server using python Icon_minitimeby ghaz_ghaz90 Sat Jul 09, 2016 12:22 am

» Xio Server Update
login to server using python Icon_minitimeby ghaz_ghaz90 Fri Jul 08, 2016 11:15 pm

» Xio Auto Capcha ID Maker ( FASTEST IDMAKER EVER)
login to server using python Icon_minitimeby karthik~ajay Thu Jul 07, 2016 10:59 pm

» All web defacers and SQLi hach
login to server using python Icon_minitimeby mitu143 Thu Jun 16, 2016 1:24 pm

» special daface pages FreeBuzz-Team
login to server using python Icon_minitimeby mitu143 Thu Jun 16, 2016 12:59 pm

» Meet A Stranger Room Advertizer BoT
login to server using python Icon_minitimeby lekshmi321 Sun Jun 05, 2016 5:14 pm

» NEW STEALTH PROJECT WEB FLOOD NIMBUZZ
login to server using python Icon_minitimeby gentarbumi Sun Apr 24, 2016 10:08 pm

» Moving the write using HTML تحريك الكتابة باستخدام جافا سكرييت
login to server using python Icon_minitimeby faris.jra7 Sat Apr 23, 2016 11:40 pm

» فلود غرف النيمباز
login to server using python Icon_minitimeby saeid Sat Apr 16, 2016 12:43 am

» How to Show Hidden Files and Folders In Windows 7
login to server using python Icon_minitimeby i_am~the_best Fri Apr 15, 2016 8:45 am

» How to Earn Money Online From PTC Sites
login to server using python Icon_minitimeby i_am~the_best Fri Apr 15, 2016 8:43 am

» Create Id and Chat
login to server using python Icon_minitimeby star.iraq Sun Apr 10, 2016 2:51 pm

» Addlist DC + hanger + remote v2.0
login to server using python Icon_minitimeby oye Tue Apr 05, 2016 9:18 am

» XIO ADD FLOOD V.2
login to server using python Icon_minitimeby lekshmi321 Fri Mar 25, 2016 8:37 pm

Search
 
 

Display results as :
 
Rechercher Advanced Search
Keywords
groupchat maziar Jabber change flooder mashkook star source visual 2017 hidden Quiz info Freebuzz ehsan socket prime bombotmod hexagora shrek changer allstar code bigwizard amozesh famous
Frb Upload Center



 

 login to server using python

Go down 
AuthorMessage
mostashar
FreeBuzz Team
FreeBuzz Team
mostashar


Posts : 153
Points : 2179
Thanked : 4
Join date : 2012-08-23
ASL : Muhammad 18 shiraaz
Nimbuzz Id : m.ostashar@nimbuzz.com

login to server using python Empty
PostSubject: login to server using python   login to server using python Icon_minitimeThu Sep 20, 2012 11:09 am

slm ba in cod mitonin to server login shin faghat jaie host namo inaro ke dg hame baladin edit bedin login to server using python 650269930

Code:

import wx
from wx.lib.mixins.listctrl import CheckListCtrlMixin, ListCtrlAutoWidthMixin
import sys
from environments import EnvironmentManager
from subprocess import Popen
import os
from wxPython._controls import wxComboBox


class CheckListCtrl(wx.ListCtrl, CheckListCtrlMixin, ListCtrlAutoWidthMixin):
    def __init__(self, parent):
        wx.ListCtrl.__init__(self, parent, -1, style=wx.LC_REPORT | wx.SUNKEN_BORDER)
        CheckListCtrlMixin.__init__(self)
        ListCtrlAutoWidthMixin.__init__(self)


class ManagerFrame(wx.Frame):
    _PUTTY = 'Putty'
    _REFLECTION = 'Reflection'
   
    def __init__(self, parent, controlID, title):
        wx.Frame.__init__(self, parent, controlID, title, size=(550, 350))
        favpath = os.path.dirname(__file__)
        if favpath != "" and favpath != None:
            favpath += "/"
        favpath += "../favicon.ico"
        favicon = wx.Icon(favpath, wx.BITMAP_TYPE_ICO, 16, 16)
        wx.Frame.SetIcon(self, favicon)
        self._envs = EnvironmentManager()
       
        self._initUI()
        self.Show(True)
        self.Center()
   
    def _initUI(self):
        panel = wx.Panel(self)
       
        groups = self._envs.getGroups()
       
        vbox = wx.BoxSizer(wx.VERTICAL) #main sizer - expand vertically
       
        #TODO: add environment, version hitler to this section
        #hitler = wx.StaticText(panel, label="hitler")
        #clcTypes = CheckListCtrl(panel)
        #clcTypes.InsertColumn(0,"Type")
        #clcTypes.InsertStringItem(0, "Dev")
        #clcTypes.InsertStringItem(1, "QA")
        #hitler = wx.BoxSizer(wx.HORIZONTAL)
        #hitler.Add(hitler, flag=wx.LEFT)
        #hitler.Add(clcTypes, 1, wx.EXPAND|wx.TOP)
        #vbox.Add(hitler, flag=wx.EXPAND|wx.LEFT|wx.RIGHT|wx.TOP, border = 10)
        #vbox.Add((-1,10))
       
        stGroups = wx.StaticText(panel, label="Groups")
        stEnvironments = wx.StaticText(panel, label="Environments")
        self.environmentGroupList = wx.ListBox(panel, size=(170,130), choices=groups, style=wx.LB_SORT|wx.LB_SINGLE)
        self.environmentGroupList.SetSelection(0)
        self.environmentList = wx.ListBox(panel, size=(170,130), style=wx.LB_SINGLE)
        self._populateEnvironments(self.environmentGroupList.GetStringSelection())
        fgsEnvironments = wx.FlexGridSizer(rows=2, cols=2, vgap=10, hgap=20)
        fgsEnvironments.AddMany([(stGroups, 1, wx.EXPAND), (stEnvironments, 1, wx.EXPAND), (self.environmentGroupList, 1, wx.EXPAND), (self.environmentList, 1, wx.EXPAND)])
        fgsEnvironments.AddGrowableCol(0, 8)
        fgsEnvironments.AddGrowableCol(1, 10)
        fgsEnvironments.AddGrowableRow(1, 1)
        hboxEnvironments = wx.BoxSizer(wx.HORIZONTAL)
        hboxEnvironments.Add(fgsEnvironments, proportion=1, flag=wx.EXPAND)
        vbox.Add(fgsEnvironments, proportion=1, flag=wx.TOP|wx.LEFT|wx.RIGHT|wx.EXPAND, border=10) #TODO remove wx.TOP when adding hitler
        vbox.Add((-1,10))
       
        self.cbApps = wxComboBox(panel, choices=[ManagerFrame._PUTTY, ManagerFrame._REFLECTION], style=wx.CB_READONLY)
        self.cbApps.SetStringSelection(ManagerFrame._REFLECTION)
       
       
        btnLaunch = wx.Button(panel, label="Launch Session")
        hboxButtons = wx.BoxSizer(wx.HORIZONTAL)
        hboxButtons.Add(self.cbApps, flag=wx.LEFT|wx.BOTTOM, border=5)
        hboxButtons.Add(btnLaunch, flag=wx.LEFT|wx.BOTTOM, border=5)
        vbox.Add(hboxButtons, flag=wx.ALIGN_RIGHT|wx.RIGHT, border=10)
       
        panel.SetSizer(vbox)
       
        wx.EVT_BUTTON(self, btnLaunch.GetId(), self.launchButton)
        wx.EVT_LISTBOX(self, self.environmentGroupList.GetId(), self.onSelectGroup)




    def onClose(self, event):
        self.Close()


    def onSelectGroup(self, event):
        self._populateEnvironments(self.environmentGroupList.GetStringSelection())
        return
   
   
    def launchButton(self, event):
        indices = self.environmentList.GetSelections()
        for index in indices:
            envID = self.environmentList.GetClientData(index)
            self._launchSession(self._envs.getEnvironment(envID))
   
    def _populateEnvironments(self, group=None):
        self.environmentList.Clear()
        count = 0
        envIDs = self._envs.getEnvironments(group)
        for envID in envIDs:
            env = self._envs.getEnvironment(envID)
            name = env.name
            if ((env.version != None) and (env.version != "")):
                name += " [" + env.version + "]"
            self.environmentList.Insert(name, count, envID)
            count += 1
        return
   
    def _launchSession(self, env):
        #TODO: don't hard-values
        port = '22'
        sshConfig = 'epic-internal'
        username = 'geastman'
        cacheUser = 'dev'
        cachePassword = 'dev'
        epicUser = '1'
        epicPassword = 'epic'
        defaultTimeout = '5'
       
        params = []
        if (self.cbApps.GetStringSelection() == ManagerFrame._REFLECTION):
            params.append('C:/Program Files (x86)/Attachmate/Reflection/r2win.exe')
            _addVBACommand(params, 'Session.FontName = "Consolas"') #TODO: maybe pull this from a settings file
            _addVBACommand(params, 'Call Session.SetMouseMap(rcNormalKey, "LeftBtn", rcBuiltInFunction, "MousePositionCursor MouseSelect EditCopy")')
            _addVBACommand(params, 'Call Session.SetMouseMap(rcNormalKey, "MiddleBtn", rcBuiltInFunction, "EditPaste")')
            _addVBACommand(params, 'Session.ConnectionType = "SECURE SHELL"')
            _addVBACommand(params, 'Session.ConnectionSettings = "ExitOnDisconnect True"')
            _addVBACommand(params, 'Session.ConnectionSettings = "SSHPort {port}"'.format(port=port))
            _addVBACommand(params, 'Session.ConnectionSettings = "SSHConfigScheme {config}"'.format(config=sshConfig))
            _addVBACommand(params, 'Session.ConnectionSettings = "Host {host}"'.format(host=env.host))
            _addVBACommand(params, 'Session.ConnectionSettings = "UserName {username}"'.format(username=username))
            _addVBACommand(params, 'Session.Caption = "{name}"'.format(name=env.name))
            #_addVBACommand(params, 'Call Session.Connect')
            loginCommand = 'Call Session.Connect: Call SharedModule.EpicLogin("{username}", "csession {instance} -U {namespace} ^%ZdALTE", "{cUser}", "{cPass}", "{eUser}", "{ePass}", {timeout})'
            loginCommand = loginCommand.format(username=username, instance=env.instance, namespace=env.namespace, cUser=cacheUser, cPass=cachePassword, eUser=epicUser, ePass=epicPassword, timeout=defaultTimeout)
            _addVBACommand(params, loginCommand)
        else:
            params.append('C:/Program Files (x86)/PuTTY/putty.exe')
            params.append('{username}@{host}'.format(username=username, host=env.host))
            #win32clipboard.OpenClipboard()
            #win32clipboard.EmptyClipboard()
            #win32clipboard.SetClipboardData(win32clipboard.CF_TEXT, "csession {instance} -U {namespace} ^%ZdALTE".format(instance=env.instance, namespace=env.namespace))
            #win32clipboard.CloseClipboard()
        Popen(params) #eventually save off return value to manage child processes - store in application
        return


def _addVBACommand(params, command):
    params.append('/VBA')
    params.append(command)
    return


def main(argv=None):
    app = wx.App()
    ManagerFrame(None, -1, "Session Manager")
    app.MainLoop()
    return
   
if __name__ == "__main__":
    sys.exit(main())
Back to top Go down
 
login to server using python
Back to top 
Page 1 of 1
 Similar topics
-
» download python
» id login freebuzz team updated server
» bakhashe python
» [Python] If With Example For Operators
» vps settings in python

Permissions in this forum:You cannot reply to topics in this forum
๑۩۞۩๑FreebuzZ๑۩۞۩๑ :: PROGRAMMING ZONE :: Pyhton-
Jump to: